]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: Notify caller when an error is reported after a rcv_buf()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 08:34:35 +0000 (09:34 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 13:31:44 +0000 (14:31 +0100)
commite4acd5e4710f631712cc6f913d4a3292af703385
tree211ca49859c6387ce53775b16edeaca475dc681c
parent5ed7aab68a6bec67f7fc76459eaf237e3428b094
MINOR: stream-int: Notify caller when an error is reported after a rcv_buf()

For the same reason than for the commit b46784b1c ("MINOR: stream-int: Notify
caller when an error is reported after a rcv_pipe()"), we return 1 after the
call to rcv_buf() in si_cs_send() to notify the caller some processing may be
triggered.

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