]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: connections: Split CS_FL_RCV_MORE into 2 flags.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 6 Dec 2018 15:22:29 +0000 (16:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 15:36:05 +0000 (16:36 +0100)
commitd247be0620c35ea0a43074fd88c6a520629c1823
tree05d2b06e34a6aa7819c7714b32b7da5ae57c8a6a
parent939193a1a1a32be63da48bb8acd7d689ced3eb98
BUG/MEDIUM: connections: Split CS_FL_RCV_MORE into 2 flags.

CS_FL_RCV_MORE is used in two cases, to let the conn_stream
know there may be more data available, and to let it know that
it needs more room. We can't easily differentiate between the
two, and that may leads to hangs, so split it into two flags,
CS_FL_RCV_MORE, that means there may be more data, and
CS_FL_WANT_ROOM, that means we need more room.

This should not be backported.
include/types/connection.h
src/mux_h1.c
src/mux_h2.c
src/stream_interface.c