commit | 8ab8a6eee5297c440e0a0dd1edec90a2def515f5 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Wed Dec 19 23:21:46 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 20 06:03:14 2018 +0100 |
tree | bb0dc61d8b23a32dca606b9a5cf97a89ce852146 | |
parent | 822305067bdc13d088494915184864e36878aa16 [diff] |
BUG/MAJOR: connections: Close the connection before freeing it. In si_release_endpoint(), if the end point is a connection, because we don't know which mux to use it, make sure we close the connection before freeing it, or else, we'd have a fd left for polling, which would point to a now free'd connection. This should be backported to 1.9.