]> git.kaiwu.me - haproxy.git/commit
MINOR: stream-int: add new functions si_{rx,tx}_{blocked,endp_ready}()
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Nov 2018 13:01:40 +0000 (14:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:41:46 +0000 (21:41 +0100)
commit78dcacef5c6d2338781336fc45224138843e31de
treeedb453904eb707bf244127679478796cb94a7538
parent94f7907d65d228d8cc148183909cc4b8c746fc20
MINOR: stream-int: add new functions si_{rx,tx}_{blocked,endp_ready}()

The first ones are used to figure if a direction is blocked on the
stream interface for anything but the end point. The second ones are
used to detect if the end point is ready to receive/transmit. They
should be used instead of directly fiddling with the existing bits.
include/proto/stream_interface.h