]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: make conn_sock_shutw() actually perform the shutdown() call
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:42:29 +0000 (22:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2015 21:42:29 +0000 (22:42 +0100)
commita02e8c951096e5b84b12a4762611bd284c50fe93
tree39238e1eed52c86b9f7a01e9e79438f86a02f04e
parent1140512f760e17e3fa0393949bc3272b35e45da1
MINOR: connection: make conn_sock_shutw() actually perform the shutdown() call

This function was not used yet and was only supposed to mark the connection
as shutdown for write. Unfortunately at other places in stream_interface.c,
we're seeing a bit of layering violations with attempts to perform the shutdown
on the fd directly. Let's make this function call shutdown() itself so that
the callers only have to care about the connection.
include/proto/connection.h