]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h1: Always try to receive more in h1_rcv_buf().
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 22 Aug 2019 16:34:25 +0000 (18:34 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 22 Aug 2019 16:35:42 +0000 (18:35 +0200)
commit02bac85bee664976f6dcecc424864e9fb99975be
tree216a6df0223a855485cfb1687e137f33dc3734c9
parent78a7cb648ca33823c06430cedc6859ea7e7cd5df
BUG/MEDIUM: h1: Always try to receive more in h1_rcv_buf().

In h1_rcv_buf(), wake the h1c tasklet as long as we're not done reading the
request/response, and the h1c is not already subscribed for receiving. Now
that we no longer subscribe in h1_recv() if we managed to read data, we
rely on h1_rcv_buf() calling us again, but h1_process_input() may have
returned 0 if we only received part of the request, so we have to wake
the tasklet to be sure to get more data again.
src/mux_h1.c