or higher -> or greater 10 lib 2

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

View file

@ -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);
}