← Commit list

cf4164fa8d

Stefan Eissing
Stefan Eissing
2026-01-28
SUCCESS Duration: 385s

Subject

vquic: handle SOCKEMSGSIZE correctly

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+4 -3
@@ -168,6 +168,7 @@ static CURLcode do_sendmsg(struct Curl_cfilter *cf,
return CURLE_AGAIN;
case SOCKEMSGSIZE:
/* UDP datagram is too large; caused by PMTUD. Just let it be lost. */
+ *psent = pktlen;
break;
case EIO:
if(pktlen > gsolen) {
@@ -206,13 +207,13 @@ static CURLcode do_sendmsg(struct Curl_cfilter *cf,
goto out;
}
else {
- failf(data, "send() returned %zd (errno %d)", rv, SOCKERRNO);
if(SOCKERRNO != SOCKEMSGSIZE) {
+ failf(data, "send() returned %zd (errno %d)", rv, SOCKERRNO);
result = CURLE_SEND_ERROR;
goto out;
}
- /* UDP datagram is too large; caused by PMTUD. Just let it be
- lost. */
+ /* UDP datagram is too large; caused by PMTUD. Just let it be lost. */
+ *psent = pktlen;
}
}
#endif