commit | 94d35108b48b97b578024c97ec4a4840441cbcfc | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 09 11:58:49 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu May 06 09:21:00 2021 +0200 |
tree | 089b61fc558098bb80a2434bfe852dfd30474707 | |
parent | 8454f2dbbc0bf4d9e307e9a0269a3de7413fd49a [diff] |
MINOR: mux-h1: Always subscribe for reads when splicing is disabled In h1_rcv_pipe(), when the splicing is not possible or disabled at the end of the fnuction, we make sure to subscribe for reads. It is not a bug but it avoid an extra call to h1_rcv_pipe() to handle the subscription in some cases (end of message, end of chunk or read0). In addition, the condition to detect end of splicing has been simplified. We now only rely on H1C_F_WANT_SPLICE flags.