]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: make the shutr/shutw functions void
authorWilly Tarreau <w@1wt.eu>
Sun, 29 Sep 2013 13:16:03 +0000 (15:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:22 +0000 (15:40 +0100)
commit6fe1541285c0e1bc6ba3151053856a4e1c1c1da2
tree3f1117cee2e7035743f2eb3cc8aebd4bcb7b0351
parent8b3d7dfd7c67dd0318efc9ddb0951c5d1ceb4a95
MINOR: stream-int: make the shutr/shutw functions void

This is to be more consistent with the other functions. The only
reason why these functions used to return a value was to let the
caller adjust polling by itself, but now their only callers were
the si_shutr()/si_shutw() inline functions. Now these functions
do not depend anymore on the connection.

These connection variant of these functions now call
conn_data_stop_recv()/conn_data_stop_send() before returning order
not to require a return code anymore. The applet version does not
need this at all.
include/proto/stream_interface.h
include/types/stream_interface.h
src/stream_interface.c