]> git.ipfire.org Git - thirdparty/curl.git/commit
HTTP/2: upload handling fixes
authorStefan Eissing <stefan@eissing.org>
Mon, 19 Jun 2023 08:53:23 +0000 (10:53 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Jun 2023 07:09:25 +0000 (09:09 +0200)
commit65937f0d638f152d955e327d0fdaf14d7c98cb29
treeb7a632b3ae51543fedf1f59cd7222eab5c43a2d1
parentff1e885632ce02f9ba8099e3c42ebbbf77c16ba9
HTTP/2: upload handling fixes

- fixes #11242 where 100% CPU on uploads was reported
- fixes possible stalls on last part of a request body when
  that information could not be fully send on the connection
  due to an EAGAIN
- applies the same EGAIN handling to HTTP/2 proxying

Reported-by: Sergey Alirzaev
Fixed #11242
Closes #11342
lib/bufq.c
lib/cf-h2-proxy.c
lib/http2.c