mirror of
https://github.com/curl/curl.git
synced 2026-08-03 17:00:29 +03:00
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.
This commit is contained in:
parent
111a2f3057
commit
b7a7600465
8 changed files with 85 additions and 79 deletions
|
|
@ -802,8 +802,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
/* If there is a custom-set Host: name, use it
|
||||
here, or else use real peer host name. */
|
||||
conn->allocptr.cookiehost?
|
||||
conn->allocptr.cookiehost:conn->name,
|
||||
conn->ppath);
|
||||
conn->allocptr.cookiehost:conn->hostname,
|
||||
conn->path);
|
||||
Curl_share_unlock(data, CURL_LOCK_DATA_COOKIE);
|
||||
}
|
||||
else if(checkprefix("Last-Modified:", k->p) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue