diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-28 08:37:54 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-28 08:37:54 +0000 |
commit | 3c52c53dddd3193d20bcb6fb335b1813eb1c07dd (patch) | |
tree | a5af9e9145b928cc538478de4cc8fafad1706ebd /lib/transfer.c | |
parent | 321ba15a82df0dba12b8f21fa60025c02e3bb998 (diff) |
Added SSL session ID caching, moved some SSL code from url.c to ssluse.c
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index b4ea0b23f..ab0af9f42 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -92,6 +92,7 @@ #include "http.h" #include "url.h" #include "getinfo.h" +#include "ssluse.h" #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> @@ -896,6 +897,13 @@ CURLcode Curl_perform(struct UrlData *data) /* we can't do anything wihout URL */ return CURLE_URL_MALFORMAT; +#ifdef USE_SSLEAY + /* Init the SSL session ID cache here. We do it here since we want to + do it after the *_setopt() calls (that could change the size) but + before any transfer. */ + Curl_SSL_InitSessions(data, data->ssl.numsessions); +#endif + data->followlocation=0; /* reset the location-follow counter */ data->bits.this_is_a_follow = FALSE; /* reset this */ |