]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: improved upload eos handling
authorStefan Eissing <stefan@eissing.org>
Sun, 4 Aug 2024 07:51:26 +0000 (09:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Aug 2024 06:53:55 +0000 (08:53 +0200)
commit35bf766280a77cde3055e0f4e249ab02a0dcd275
treec60300f440c2f340e97cf8c7e1cecbed3f39012b
parent344ba8c883acf4ba5e824e8ef2f6dcb6fe00b27f
http2: improved upload eos handling

- replace the counting of upload lengths with the new eos send flag
- improve frequency of stream draining to happen less on events where it
  is not needed
- this PR is based on #14220

http2, cf-h2-proxy: fix EAGAINed out buffer
- in adjust pollset and shutdown handling, a non-empty `ctx->outbufq`
  must trigger send polling, irregardless of http/2 flow control
- in http2, fix retry handling of blocked GOAWAY frame

test case improvement:
- let client 'upload-pausing' handle http versions

Closes #14253
lib/cf-h2-proxy.c
lib/cf-https-connect.c
lib/cfilters.c
lib/cfilters.h
lib/http2.c
lib/transfer.c
lib/vtls/gtls.c
tests/http/clients/upload-pausing.c
tests/http/test_07_upload.py
tests/http/test_10_proxy.py