]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: listener: don't pause protocols that do not support it
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 06:56:31 +0000 (08:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 06:58:21 +0000 (08:58 +0200)
commitb3fb60bdcd15cd3bd925a6423f40498f4a695043
treefdac2b8b8e96181fbcbcc9504fb2df5e161f67a6
parent8113a5d78f2d2abe942f88a3a4df9f8bb5e535ba
BUG/MEDIUM: listener: don't pause protocols that do not support it

Pausing a UNIX_STREAM socket results in a major pain because the socket
does not correctly resume, it wakes poll() but return EAGAIN on accept(),
resulting in a busy loop. So let's only pause protocols that support it.

This issues has existed since UNIX sockets were introduced on bind lines.
src/listener.c