]> git.ipfire.org Git - thirdparty/curl.git/commit
ngtcp2: stabilize recv
authorStefan Eissing <stefan@eissing.org>
Thu, 8 Jan 2026 10:19:39 +0000 (11:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jan 2026 21:36:38 +0000 (22:36 +0100)
commitf2d008811db2edefad035b9dcfc8865459999ee7
treea835873a2b9ffe7fbb9ea9b00fc10cf1298b389f
parente3691612ea1acb28e77fee6b4b2b9da0ac2c8f8b
ngtcp2: stabilize recv

When receiving on a stream that already failed or has already been closed,
return the matching error code without touching the connection. In case
the connection shows errors, e.g. the server closed, those errors should
not have impact on an already failed/closed stream.

This might mitigate flakiness in pytest 07_13 where unexpected errors
occur after a successful upload.

Closes #20220
lib/vquic/curl_ngtcp2.c