]> git.ipfire.org Git - thirdparty/curl.git/commit
ngtcp2: fix HTTP/3 upload stall and avoid busy loop
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Sun, 10 Apr 2022 21:07:29 +0000 (23:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 10 Apr 2022 21:07:42 +0000 (23:07 +0200)
commit990bfdd7bc4a08c0d2b73edeaedd8cd13401dba1
tree51af9d40b901e1fe5ab50adbbfa55d3cfe9883eb
parent37492ebbfa24ba4e700e6655b3dbc2bdd65c894a
ngtcp2: fix HTTP/3 upload stall and avoid busy loop

This commit fixes HTTP/3 upload stall if upload data is larger than
H3_SEND_SIZE.  Only check writability of socket if a stream is
writable to avoid busy loop when QUIC flow control window is filled
up, or upload buffer is full.

Closes #8688
lib/vquic/ngtcp2.c