]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: muxes: Remove useless calls to b_realign_if_empty()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 10:13:43 +0000 (11:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Feb 2021 10:48:36 +0000 (11:48 +0100)
commit0aeaa290daa492bf770a256ec7f5b9f367bc6378
tree651d0aa17c6c68cac8cccf7dbb5ad54b1b5fda54
parent38cd986c54975add4e14ef0f693dff494e36336d
CLEANUP: muxes: Remove useless calls to b_realign_if_empty()

In H1, H2 and FCGI muxes, b_realign_if_empty() is called to reset the head
of an empty buffer before setting it a specific value to permit the
zero-copy. Thus, we can remove call to b_realign_if_empty().
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c