These errors are unexpected at this staged and there is not much more to do than
to close the connection and leave. So now, when it happens, the flag
H1C_F_CS_ERROR is set on the H1 connection and the flag HTX_FL_PARSING_ERROR is
set on the channel's HTX message.
This patch must be backported to 2.0 and 1.9.
default:
error:
+ /* Unexpected error during output processing */
+ chn_htx->flags |= HTX_FL_PARSING_ERROR;
h1s->flags |= errflag;
+ h1c->flags |= H1C_F_CS_ERROR;
break;
}