commit | 06559ac1fbc3f1dbc778cba60fdc615bc277c5b1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Dec 05 01:53:08 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 05 02:23:48 2013 +0100 |
tree | c6c1b8d63d00d60ea7560fcd123bd736a517adfc | |
parent | 25e2ab53db4dbfc4ca978528dbae2ab198be6b5e [diff] |
OPTIM: checks: don't poll on recv when using plain TCP connects When pure TCP checks are used, we see a useless call to recvfrom() in strace resulting from an inconditional poll on recv after the connect() succeeds. Let's remove this one and properly report connection success in the write events.