From: Christopher Faulet Date: Tue, 28 May 2019 08:35:18 +0000 (+0200) Subject: BUG/MINOR: mux-h1: errflag must be set on H1S and not H1M during output processing X-Git-Tag: v2.0-dev6~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ea158cf23d667d758a67ea31a255f9c6ccd2ed;p=thirdparty%2Fhaproxy.git BUG/MINOR: mux-h1: errflag must be set on H1S and not H1M during output processing This bug is in an unexpected clause of the switch..case, inside h1_process_output(). The wrong structure is used to set the error flag. This patch must be backported to 1.9. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index 0b76ef4492..ffec7e852b 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -1692,7 +1692,7 @@ static size_t h1_process_output(struct h1c *h1c, struct buffer *buf, size_t coun break; default: - h1m->flags |= errflag; + h1s->flags |= errflag; break; } total += vlen;