]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: remove useless checks on CS and conn flags in si_cs_send()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 09:30:02 +0000 (10:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commit55dec0dca4f0eb676c426762e91033ae77f959c2
treeeb4398dd48f6b25aa86b666af8de7662a1326dbe
parent3f76f4ccf7532625bb272e961cb87e64efaf8ed4
MINOR: stream-int: remove useless checks on CS and conn flags in si_cs_send()

In si_cs_send(), some checks are done the CS flags en the connection flags
before calling snd_buf(). But these checks are useless because they have already
been done earlier in the function. The harder to figure out is the flag
CO_FL_SOCK_WR_SH. So it is now tested with CF_SHUTW at the beginning.
src/stream_interface.c