commit | fb8bf6324bfe9f36d0be5110fcc13facba4389a8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jul 07 18:24:48 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 08 01:17:16 2014 +0200 |
tree | 54c2fd961aec73320c08267da9ace08cc56354be | |
parent | 463ae6f09e485faf3d1cdc4daceefe4bcd50b50e [diff] |
BUG/MINOR: listener: set the listener's fd to -1 after deletion This is currently harmless, but when stopping a listener, its fd is closed but not set to -1, so it is not possible to re-open it again. Currently this has no impact but can have after the abstract sockets are modified to perform a complete close on soft-reload. The fix can be backported to 1.5 and may even apply to 1.4 (protocols.c). (cherry picked from commit 39447b6a5799a160eae452db920fd0735a78638b)