commit | dedd30610bf534eb7fb3ca4d1993137d4d853f1f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Jul 26 15:12:38 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Jul 26 17:13:21 2019 +0200 |
tree | 58ba0f20187cec37896a2854d4bc889b38f0dfaa | |
parent | cc3fec8ac93f2f7d00ddabe0eba4b68a43285d1a [diff] |
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.