mirror of
https://github.com/curl/curl.git
synced 2026-07-25 23:37:17 +03:00
or higher -> or greater 10 lib 2
This commit is contained in:
parent
5c5023775d
commit
b912cb8c75
1 changed files with 2 additions and 2 deletions
|
|
@ -2378,7 +2378,7 @@ static CURLcode http_req_set_TE(struct Curl_easy *data,
|
|||
STRCONST("Transfer-Encoding:"), STRCONST("chunked"));
|
||||
if(data->req.upload_chunky && (httpversion >= 20)) {
|
||||
infof(data, "suppressing chunked transfer encoding on connection "
|
||||
"using HTTP version 2 or higher");
|
||||
"using HTTP version 2 or greater");
|
||||
data->req.upload_chunky = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
@ -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 or higher we do not
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 or greater we do not
|
||||
* need it */
|
||||
data->req.upload_chunky = (httpversion < 20);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue