]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: enable reading again on the connection if it was blocked on stream buffer...
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 14:38:23 +0000 (15:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:18 +0000 (18:16 +0100)
commitd7739c8820be1d7a89498f6d01cd652f7548b583
tree104f480636ad45b8fd5035cb94c82f160af63ba4
parent1d393228e09febd9e039d2fc6b247ba47d182fc6
MEDIUM: h2: enable reading again on the connection if it was blocked on stream buffer full

If the polling update function is called with RD_ENA while H2_CF_DEM_SFULL
indicates the demux had to block on a stream buffer full condition, we can
remove the flag and re-enable polling for receiving because this is the
indication that a consumer stream has made some room in the buffer. Probably
that we should improve this to ensure that h2s->id == h2c->dsi and avoid
trying to receive multiple times in a row for the wrong stream.
src/mux_h2.c