commit | a593ec5bf4ac58e7489535eb256f4763ac8027ff | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 20 21:21:30 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 20 22:27:16 2014 +0100 |
tree | e44bd028a5c640599a2edf7196428c31cd192ad4 | |
parent | fa7fc95e16fae8b30f2522f59bb945c596e48419 [diff] |
MEDIUM: listener: fix polling management in the accept loop The accept loop used to force fd_poll_recv() even in places where it was not completely appropriate (eg: unexpected errors). It does not yet cause trouble but will do with the upcoming polling changes. Let's use it only where relevant now. EINTR/ECONNABORTED do not result in poll() anymore but the failed connection is simply skipped (this code dates from 1.1.32 when error codes were first considered).