or higher -> or greater 10 lib 2

This commit is contained in:
Viktor Szakats 2026-05-26 18:48:53 +02:00
parent b360e62e21
commit b48f5aa81d
No known key found for this signature in database

View file

@ -2377,7 +2377,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;
}
}
@ -2387,7 +2387,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);
}