Now we're setting a default domain for received cookies so that we can

properly match those cookies in subsequent requests
This commit is contained in:
Daniel Stenberg
2001-09-26 07:08:29 +00:00
parent 9efdb68035
commit 598e8dfbfb
3 changed files with 18 additions and 7 deletions

View File

@@ -620,7 +620,7 @@ Transfer(struct connectdata *c_conn)
}
else if(data->cookies &&
strnequal("Set-Cookie:", p, 11)) {
Curl_cookie_add(data->cookies, TRUE, &p[12]);
Curl_cookie_add(data->cookies, TRUE, &p[12], conn->name);
}
else if(strnequal("Last-Modified:", p,
strlen("Last-Modified:")) &&