MINOR: h2: new function h2c_error to mark an error on the connection

This one sets the error code in h2c->errcode and changes the connection's
stat to H2_CS_ERROR.
1 file changed