mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05: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
@ -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…
Reference in New Issue
Block a user