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.
This commit is contained in:
Christopher Faulet 2019-09-09 10:11:30 +02:00
parent 505adfca51
commit 69b482180c

View File

@ -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;