]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: disable read on CONNECTION_CLOSE emission
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 24 May 2022 12:47:48 +0000 (14:47 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 May 2022 13:41:25 +0000 (15:41 +0200)
commit5c4373a47b1b84f6d32a0904c00cde3e5d96393a
treea9ac40b3b03e391a9eeb9028a72583b42872ea3d
parentf9e190e49ab2859eade317734261b7c22d0fe83d
MINOR: mux-quic: disable read on CONNECTION_CLOSE emission

Similar to sending, read operations are disabled when a CONNECTION_CLOSE
frame has been emitted.

Most notably, this prevents unneeded loop demuxing when the H3 layer has
issue an error and cannot process the buffer payload anymore.

Note that read is not prevented for unidirectional streams for the
moment. This will supported soon with the unification of bidir and uni
streams treatment.
src/mux_quic.c