commit | 75ea0a06b070c982ef1de986532f535a3179b632 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Wed Nov 15 19:02:58 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 15 19:53:33 2017 +0100 |
tree | 1d4c0b724df8151ef2b9db210419774f521c962e | |
parent | fade49d8fbe54ba9643d0fe30534489695bff2fb [diff] |
BUG/MEDIUM: mworker: does not close inherited FD At the end of the master initialisation, a call to protocol_unbind_all() was made, in order to close all the FDs. Unfortunately, this function closes the inherited FDs (fd@), upon reload the master wasn't able to reload a configuration with those FDs. The create_listeners() function now store a flag to specify if the fd was inherited or not. Replace the protocol_unbind_all() by mworker_cleanlisteners() + deinit_pollers()