MINOR: channel: Report EOI on the input channel if it was reached in the mux
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Mar 2019 13:16:14 +0000 (14:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2019 05:24:43 +0000 (06:24 +0100)
commit297d3e2e0f8f02636b9d58c40d7cab56a385f512
tree7af586ec7ba734bf21ee4ba06ea292161ebe54c8
parent5311a9255d70d5121418a02dce0dbb2e24f9935c
MINOR: channel: Report EOI on the input channel if it was reached in the mux

The flag CF_EOI is now set on the input channel when the flag CS_FL_EOI is set
on the corresponding conn_stream. In addition, if a read activity is reported
when this flag is set, the stream is woken up.

This patch should be backported to 1.9.
include/types/channel.h
src/proto_http.c
src/stream_interface.c