]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
vquic: sending non-gso packets fix for EAGAIN
authorStefan Eissing <stefan@eissing.org>
Wed, 8 Oct 2025 11:44:32 +0000 (13:44 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2025 06:27:23 +0000 (08:27 +0200)
The function returned OK on EAGAIN and not the correct code.

Reported-by: Joshua Rogers
Closes #18936

lib/vquic/vquic.c

index f722c7e127a2aad7b3f4949ea931df77ee39baee..30917b835af08993312076bfbbb81e42a81643bb 100644 (file)
@@ -254,7 +254,7 @@ out:
   CURL_TRC_CF(data, cf, "vquic_%s(len=%zu, gso=%zu, calls=%zu)"
               " -> %d, sent=%zu",
               VQUIC_SEND_METHOD, pktlen, gsolen, calls, result, *psent);
-  return CURLE_OK;
+  return result;
 }
 
 static CURLcode vquic_send_packets(struct Curl_cfilter *cf,