]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-int: make idle-conns switch to ST_RDY
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 07:17:15 +0000 (09:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Jun 2019 14:36:19 +0000 (16:36 +0200)
commit8c603ded394ac4485874ad4e56cb989673943484
tree2da365a8cbf27e9c4d8a501af906fa6bcc046c7a
parentb27f54a88cb817a8840136ed7dca8c933c01acea
MEDIUM: stream-int: make idle-conns switch to ST_RDY

The purpose of making idle-conns switch to SI_ST_CON was to make the
transition detectable and the operation retryable in case of connection
error. Now we have the RDY state for this which is much more suitable
since it indicates a validated connection on which we didn't necessarily
send anything yet. This will still lead to a transition to EST while not
requiring unnatural write polling nor connect timeouts.
include/proto/stream_interface.h