]> git.kaiwu.me - haproxy.git/commit
MINOR: stream-int: add a new blocking condition on the remote connection
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 14:24:01 +0000 (15:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 14:24:01 +0000 (15:24 +0100)
commita3b62d374a7839c0ebc0b50064b93dabfba9f6db
tree0c4194202f3b024f70797f5645ab521ee160c176
parent0fa989f4c02a5af5d511d7bf6776527b4f8e1379
MINOR: stream-int: add a new blocking condition on the remote connection

There are some situations where we need to wait for the other side to
be connected. None of the current blocking flags support this. It used
to work more or less by accident using the old flags. Let's add a new
flag to mention we're blocking on this, it's removed by si_chk_rcv()
when a connection is established. It should be enough for now.
include/proto/stream_interface.h
include/types/stream_interface.h