vquic: sending non-gso packets fix for EAGAIN

The function returned OK on EAGAIN and not the correct code.

Reported-by: Joshua Rogers
Closes #18936
This commit is contained in:
Stefan Eissing 2025-10-08 13:44:32 +02:00 committed by Daniel Stenberg
parent cc7b12347b
commit 0b4a704500
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View 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,