commit | 6996e15e160f37fa3ebc660b3ea766f3f7019b84 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 30 14:37:43 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 30 14:37:43 2007 +0200 |
tree | e8e3a0a48a098e707318551589383700dd22bcba | |
parent | c2c078362a8c8bf9e228bb3530020da2c73aacb1 [diff] |
[BUG] fixed connection establishment detection Since the introduction of speculative I/O, it was not always possible to correctly detect a connection establishment. Particularly, in TCP mode, there is no data to send and getsockopt() returns no error. The solution consists in trying a connect() again to get its diagnostic.