mirror of
https://github.com/curl/curl.git
synced 2026-07-27 23:53:06 +03:00
http: ignore content-length if any transfer-encoding is used
Fixes #7643 Closes #7649
This commit is contained in:
parent
bde355c484
commit
8a16e54c0c
10 changed files with 80 additions and 71 deletions
|
|
@ -400,6 +400,11 @@ CURLcode Curl_hyper_stream(struct Curl_easy *data,
|
|||
/* end of transfer */
|
||||
*done = TRUE;
|
||||
infof(data, "hyperstream is done!");
|
||||
if(!k->bodywrites) {
|
||||
/* hyper doesn't always call the body write callback */
|
||||
bool stilldone;
|
||||
result = Curl_http_firstwrite(data, data->conn, &stilldone);
|
||||
}
|
||||
break;
|
||||
}
|
||||
else if(t != HYPER_TASK_RESPONSE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue