mirror of
https://github.com/curl/curl.git
synced 2026-07-31 23:58:04 +03:00
bug report #508235 identified a non-working Location: following, and this
little fix seems to correct it. another case where we just returned and didn't shut off the reading. This bug is introduced in 7.9.3 due to the new internal "order".
This commit is contained in:
parent
170bd6dafc
commit
4146ce8267
1 changed files with 2 additions and 0 deletions
|
|
@ -610,6 +610,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||
if (conn->newurl) {
|
||||
/* abort after the headers if "follow Location" is set */
|
||||
infof (data, "Follow to new URL: %s\n", conn->newurl);
|
||||
k->keepon &= ~KEEP_READ;
|
||||
FD_ZERO(&k->rkeepfd);
|
||||
return CURLE_OK;
|
||||
}
|
||||
else if (conn->resume_from &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue