]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: use conn_sock_shutw() to shutdown a connection
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:44:53 +0000 (22:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:44:53 +0000 (22:44 +0100)
commit4dfd54f26a8bbef6aeec1df970bd8e1e84263137
treefdf76c6a56fea998b05b05ef8068e21f4dbfb2c5
parenta02e8c951096e5b84b12a4762611bd284c50fe93
MINOR: stream-int: use conn_sock_shutw() to shutdown a connection

Stop calling shutdown() on the connection's fd. Note, this also seems
to fix a bug which was harmless, but which consisted in not marking
the connection as shutdown at the socket level until the other side
was shut as well.
src/stream_interface.c