commit | a02e8c951096e5b84b12a4762611bd284c50fe93 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Mar 12 22:42:29 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Mar 12 22:42:29 2015 +0100 |
tree | 39238e1eed52c86b9f7a01e9e79438f86a02f04e | |
parent | 1140512f760e17e3fa0393949bc3272b35e45da1 [diff] |
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.