]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Rely on the H1C to deal with shutdown for reads
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Oct 2022 06:22:33 +0000 (08:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Nov 2022 13:33:15 +0000 (14:33 +0100)
commitfc473a6453ec9d206b3ef051f8c3d1e7e8c5bbab
tree5308a14feef82669a175c34ecb90a6ae074b60d2
parentbef8900cd6441e6364ed4252304061649dd85cfc
MEDIUM: mux-h1: Rely on the H1C to deal with shutdown for reads

read0 is now handled with a H1 connection flag (H1C_F_EOS). Corresponding
flag was removed on the H1 stream and we fully rely on the SE descriptor at
the stream level.

Concretly, it means we rely on the H1 connection flags instead of the
connection one. H1C_F_EOS is only set in h1_recv() or h1_rcv_pipe() after a
read if a read0 was detected.
include/haproxy/mux_h1-t.h
src/mux_h1.c