]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: do not even try to receive if the connection is not fully set up
authorWilly Tarreau <w@1wt.eu>
Fri, 31 Jul 2020 07:15:43 +0000 (09:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Jul 2020 07:30:12 +0000 (09:30 +0200)
commit2febb846a46a222f90d6cef47494677460d564df
treec0b4385710f3bbcff46b47be6d4da807fdda92d1
parent8dbd1a2e09417a36f05d3c2709fc07e71f73cea9
MINOR: mux-h1: do not even try to receive if the connection is not fully set up

If the connection is still waiting for L4/L6, there's no point even trying
to receive as it will fail, so better return zero in h1_recv_allowed().
src/mux_h1.c