← Commit list

61bcd1105a

Daniel Stenberg
Daniel Stenberg
2026-02-27
SUCCESS Duration: 322s

Subject

cfilter: move a debug-only check into ifdef DEBUGBUILD

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/cfilters.c+4 -3
@@ -1089,13 +1089,14 @@ CURLcode Curl_conn_send(struct Curl_easy *data, int sockindex,
const char *p = getenv("CURL_SMALLSENDS");
if(p) {
curl_off_t altsize;
- if(!curlx_str_number(&p, &altsize, write_len))
+ if(!curlx_str_number(&p, &altsize, write_len)) {
write_len = (size_t)altsize;
+ if(write_len != len)
+ eos = FALSE;
+ }
}
}
#endif
- if(write_len != len)
- eos = FALSE;
if(data && data->conn && data->conn->send[sockindex])
return data->conn->send[sockindex](data, sockindex, buf, write_len, eos,
pnwritten);