]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: Don't wake the H1 tasklet if we got the whole request.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 26 Jul 2019 13:12:38 +0000 (15:12 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 26 Jul 2019 15:13:21 +0000 (17:13 +0200)
commitdedd30610bf534eb7fb3ca4d1993137d4d853f1f
tree58ba0f20187cec37896a2854d4bc889b38f0dfaa
parentcc3fec8ac93f2f7d00ddabe0eba4b68a43285d1a
MEDIUM: h1: Don't wake the H1 tasklet if we got the whole request.

In h1_rcv_buf(), don't wake the H1 tasklet to attempt to receive more data
if we got the whole request. It will lead to a recv and maybe to a subscribe
while it may not be needed.
If the connection is keep alive, the tasklet will be woken up later by
h1_detach(), so that we'll be able to get the next request, or an end of
connection.
src/mux_h1.c