]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] perform a soft stop when pause fails to be nice with non-Linux systems.
authorWilly TARREAU <willy@pcw.(none)>
Sun, 14 May 2006 07:55:23 +0000 (09:55 +0200)
committerWilly TARREAU <willy@pcw.(none)>
Sun, 14 May 2006 07:55:23 +0000 (09:55 +0200)
commit007aa4606eaa374bda1f0f98c1f48dfe480aeed3
treed7148e0d2c1fa54c306973d0875d4076cc2f5dfd
parent1a71cc14c93d7a7c41fd9ae4c2e1ff90fa0a6e17
[MEDIUM] perform a soft stop when pause fails to be nice with non-Linux systems.

At least OpenBSD and Solaris do not support shutdown() on listening socket.
So instead of blocking the hot reconfiguration, at least we can perform a
soft stop if the shutdown fails, so that the new daemon can bind to the
ports without trouble.
haproxy.c