commit | 6f5d141149e632f3bdcd09f4ba80dd9a09d1f22c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 04 20:38:49 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 04 22:26:09 2012 +0200 |
tree | a766e0e4fb850b4e671df23b7e1b4a42ccbf55ca | |
parent | c0e98868fe08772260490f0381417a5636968b66 [diff] |
MEDIUM: raw_sock: improve connection error reporting When a connection setup is pending and we receive an error without a POLL_IN flag, we're certain there will be nothing to read from it and we can safely report an error without attempting a recv() call. This will be significantly better for health checks which will avoid a useless recv() on all failed checks.