commit | 2da156fe5e01c4cc1e2f22bfb2a559da99494567 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <wtarreau@exceliance.fr> | Mon Jul 23 15:07:23 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 02 21:51:29 2012 +0200 |
tree | dc9d49e0caa7bae3ac8d5123a20392b123207db5 | |
parent | 2c6be84b3a94150e4f74f256ba7ef12be7a42f36 [diff] |
MAJOR: tcp: remove the specific I/O callbacks for TCP connection probes Use a single tcp_connect_probe() instead of tcp_connect_write() and tcp_connect_read(). We call this one only when no data layer function have been processed, so this is a fallback to test for completion of a connection attempt. With this done, we don't have the need for any direct I/O callback anymore. The function still relies on ->write() to wake the stream interface up, so it's not finished.