]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: Make sure to return 1 in h2_recv() when needed.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 19 Oct 2018 15:26:49 +0000 (17:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 21 Oct 2018 03:58:33 +0000 (05:58 +0200)
commit81a15af6bc003dc247a87799b48162a37a0ae27f
treeae132e5fb6754dc920e0ba15fcf3587730e38fe2
parent85b73e9427e78d1b1765ca87564462c602cf3727
MINOR: h2: Make sure to return 1 in h2_recv() when needed.

In h2_recv(), return 1 if we have data available, or if h2_recv_allowed()
failed, to be sure h2_process() is called.
Also don't subscribe if our buffer is full.
src/mux_h2.c