]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Remove first useless test on count in h1_process_output()
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 29 Jan 2021 09:22:28 +0000 (10:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 29 Jan 2021 12:16:32 +0000 (13:16 +0100)
commit1faeb4c71084a20c68ee8d7bc42e337d4d435366
tree56a8e9cc4730f8cb75471df749b577b8cc787da0
parent5c25daa170713911d7c6be33699caa71fc362da4
MINOR: mux-h1: Remove first useless test on count in h1_process_output()

h1_process_output() function is never called with no data to send (count ==
0). Thus, the first test on count, at the beginning of the function is
useless and may be removed. This way, by reading the code, it is obvious the
<chn_htx> variable is always defined.

This patch should fix the issue #1085.
src/mux_h1.c