commit | b2a7ab08a8770b0991f2181e0b97d96ff131af05 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Dec 27 10:54:22 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 27 16:38:47 2019 +0100 |
tree | 2860d1827b385e018d73dc9467aa17c2ca8cb1db | |
parent | 4970e5adb7235758951e5300f0887c9b792d5606 [diff] |
MINOR: connection: check for connection validation earlier In conn_fd_handler() we used to first give a chance to the send() callback to try to send data and validate the connection at the same time. But since 1.9 we do not call this callback anymore inline, it's scheduled. So let's validate the connection ealier so that all other decisions can be taken based on this confirmation. This may notably be useful to the xprt_done_cb() to know that the connection was properly validated.