]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: Don't expect data from server as long as request is unfinished
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Feb 2023 13:26:34 +0000 (14:26 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Feb 2023 16:45:45 +0000 (17:45 +0100)
commit72722c04b0a5e4baf8a147d002d393486b4f944d
treeedb1c2037278eca223309c4d7e3a9ded8c37994c
parentf4b89f162a6c2917050b0ca3ae5e40621874a626
MEDIUM: mux-h2: Don't expect data from server as long as request is unfinished

As for the H1 stream, the H2 stream now states it does not expect data from
the server as long as the request is unfinished. The aim is the same. We
must be sure to not trigger a read timeout on server side if the client is
still uploading data.

From the moment the end of the request is received and forwarded to upper
layer, the H2 stream reports it expects to receive data from the opposite
endpoint. This re-enables read timeout on the server side.
src/mux_h2.c