diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-20 07:53:24 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-20 07:53:24 +0000 |
commit | b7a760046545fa9afc3feca68d12dc087fbe625c (patch) | |
tree | 292e468bc07f8c59917ab2f078343ac6bed5b354 /lib/ssluse.c | |
parent | 111a2f3057b3a13cb91e3c5a702bd1254f774dbb (diff) |
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index d78d78f6d..6a81f24f7 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -544,7 +544,7 @@ static int Get_SSL_Session(struct connectdata *conn, if(!check->sessionid) /* not session ID means blank entry */ continue; - if(curl_strequal(conn->name, check->name) && + if(curl_strequal(conn->hostname, check->name) && (conn->remote_port == check->remote_port) && Curl_ssl_config_matches(&conn->ssl_config, &check->ssl_config)) { /* yes, we have a session ID! */ @@ -662,7 +662,7 @@ static int Store_SSL_Session(struct connectdata *conn, /* now init the session struct wisely */ store->sessionid = ssl_sessionid; store->age = data->state.sessionage; /* set current age */ - store->name = strdup(conn->name); /* clone host name */ + store->name = strdup(conn->hostname); /* clone host name */ store->remote_port = conn->remote_port; /* port number */ Curl_clone_ssl_config(&conn->ssl_config, &store->ssl_config); |