mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 11:53:43 +02:00
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.