← Commit list

e3c06ccc66

Stefan Eissing
Stefan Eissing
2025-09-08
FAILED Duration: 151s

Subject

vquic: replace assert

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/vquic/vquic.c+3 -2
@@ -186,8 +186,9 @@ static CURLcode do_sendmsg(struct Curl_cfilter *cf,
return CURLE_SEND_ERROR;
}
}
- else {
- assert(pktlen == (size_t)sent);
+ else if(pktlen != (size_t)sent) {
+ failf(data, "sendmsg() sent only %zd/%zu bytes", sent, pktlen);
+ return CURLE_SEND_ERROR;
}
#else
ssize_t sent;