mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:33:33 +03:00
and later -> or higher
This commit is contained in:
parent
de6ab39f5d
commit
97e75f98b7
7 changed files with 9 additions and 9 deletions
|
|
@ -2388,7 +2388,7 @@ static CURLcode http_req_set_TE(struct Curl_easy *data,
|
|||
if(req_clen < 0) {
|
||||
/* indeterminate request content length */
|
||||
if(httpversion > 10) {
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 and later we do not
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 or higher we do not
|
||||
* need it */
|
||||
data->req.upload_chunky = (httpversion < 20);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue