commit | 6b3b0d4736f2e27cbbcd2f8f94edad3a1fb1c574 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 22 19:32:55 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 22 19:32:55 2012 +0200 |
tree | 891f5f0573e241d343065251eaccbb4d7fea1b67 | |
parent | a068a2951d84519a938a969d5061ca3ec3a27eb9 [diff] |
MEDIUM: listener: provide a fallback for accept4() when not supported It happens that on some systems, the libc is recent enough to permit building with accept4() but the kernel does not support it. The result is then a disaster since no connection is accepted. We now detect this and automatically fall back to accept() and fcntl() when this happens.