From 69b482180c5421806029f29270f0fc67eec55581 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 9 Sep 2019 10:11:30 +0200 Subject: [PATCH] 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. --- src/mux_h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_h1.c b/src/mux_h1.c index 1fc65039f..d1022e699 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;