moved the session ID cache state variables into the UrlState struct within

the SessionHandle. It was previously wrongly put in UserDefined
This commit is contained in:
Daniel Stenberg
2001-09-06 08:32:01 +00:00
parent 86da31e031
commit c3b448dcea
2 changed files with 19 additions and 18 deletions

View File

@@ -139,9 +139,7 @@ struct ssl_config_data {
char *random_file; /* path to file containing "random" data */
char *egdsocket; /* path to file containing the EGD daemon socket */
struct curl_ssl_session *session; /* array of 'numsessions' size */
long numsessions; /* SSL session id cache size */
long sessionage; /* number of the most recent session */
};
/****************************************************************************
@@ -437,6 +435,9 @@ struct UrlState {
following not keep sending user+password... This is
strdup() data.
*/
struct curl_ssl_session *session; /* array of 'numsessions' size */
long sessionage; /* number of the most recent session */
};