]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: Notify caller when an error is reported after a rcv_pipe()
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Nov 2018 21:02:07 +0000 (22:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commit5ed7aab68a6bec67f7fc76459eaf237e3428b094
tree651fab27cc71d3c2887bdb9445e80444907f5421
parentb42a8b6c61f7387bdf81aa04d485ecef6d4c46c5
MINOR: stream-int: Notify caller when an error is reported after a rcv_pipe()

In si_cs_send(), when an error is found on the CS or the connection at the
beginning of the function, we return 1 to notify the caller some processing may
be triggered. So, it seems logical to do the same after the call to rcv_pipe().

This patch is not flagged as a bug because no strange behaviour was yet observed
without it. It is just a proactive fix to be consistent.
src/stream_interface.c