From: Christopher Faulet Date: Mon, 9 Sep 2019 08:11:30 +0000 (+0200) Subject: MINOR: mux-h1: Report a processing error during output processing X-Git-Tag: v2.1-dev2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b482180c5421806029f29270f0fc67eec55581;p=thirdparty%2Fhaproxy.git MINOR: mux-h1: Report a processing error during output processing During output processing, It is unexpected to have a malformed HTX message. Instead of reporting a parsing error, we now report a processing error. --- diff --git a/src/mux_h1.c b/src/mux_h1.c index 1fc65039f8..d1022e6990 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -1830,7 +1830,7 @@ static size_t h1_process_output(struct h1c *h1c, struct buffer *buf, size_t coun default: error: /* Unexpected error during output processing */ - chn_htx->flags |= HTX_FL_PARSING_ERROR; + chn_htx->flags |= HTX_FL_PROCESSING_ERROR; h1s->flags |= errflag; h1c->flags |= H1C_F_CS_ERROR; break;