Loading lib/transfer.c +6 −1 Original line number Diff line number Diff line Loading @@ -686,7 +686,12 @@ CURLcode Curl_readwrite(struct connectdata *conn, } else if(data->cookies && checkprefix("Set-Cookie:", k->p)) { Curl_cookie_add(data->cookies, TRUE, k->p+11, conn->name); Curl_cookie_add(data->cookies, TRUE, k->p+11, /* 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); } else if(checkprefix("Last-Modified:", k->p) && (data->set.timecondition || data->set.get_filetime) ) { Loading Loading
lib/transfer.c +6 −1 Original line number Diff line number Diff line Loading @@ -686,7 +686,12 @@ CURLcode Curl_readwrite(struct connectdata *conn, } else if(data->cookies && checkprefix("Set-Cookie:", k->p)) { Curl_cookie_add(data->cookies, TRUE, k->p+11, conn->name); Curl_cookie_add(data->cookies, TRUE, k->p+11, /* 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); } else if(checkprefix("Last-Modified:", k->p) && (data->set.timecondition || data->set.get_filetime) ) { Loading