]> git.ipfire.org Git - thirdparty/curl.git/commit
http2: Use KEEP_SEND_HOLD for flow control in HTTP/2
authorStefan Eissing <stefan@eissing.org>
Mon, 13 Mar 2023 10:44:26 +0000 (11:44 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 14 Mar 2023 07:26:57 +0000 (03:26 -0400)
commit06f65f771b52122cf78a6ca3279686679d72bd8e
treeb47a0795463341a0008c9d80a21e6225fb19077c
parent7caaeca6f634c1c19e01a3e8451e7de02115b2fb
http2: Use KEEP_SEND_HOLD for flow control in HTTP/2

- use the defined, but so far not used, KEEP_SEND_HOLD bit for flow
  control based suspend of sending in transfers.

Prior to this change KEEP_SEND_PAUSE bit was used instead, but that can
interfere with pausing streams from the user side via curl_easy_pause.

Fixes https://github.com/curl/curl/issues/10751
Closes https://github.com/curl/curl/pull/10753
lib/http2.c
lib/transfer.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_quiche.c