mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:41:41 +03:00
parent
0d5e24281d
commit
231f0a2eec
1 changed files with 5 additions and 1 deletions
|
|
@ -4039,9 +4039,13 @@ static CURLcode http_on_response(struct Curl_easy *data,
|
|||
goto out;
|
||||
}
|
||||
data->state.disableexpect = TRUE;
|
||||
Curl_req_abort_sending(data);
|
||||
DEBUGASSERT(!data->req.newurl);
|
||||
data->req.newurl = strdup(data->state.url);
|
||||
Curl_req_abort_sending(data);
|
||||
if(!data->req.newurl) {
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
else if(data->set.http_keep_sending_on_error) {
|
||||
infof(data, "HTTP error before end of send, keep sending");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue