Use NGHTTP2_PROTOCOL_ERROR for NGHTTP2_ERR_HTTP_{HEADER,MESSAGING}
This commit is contained in:
parent
d0c27d5229
commit
87602e5d72
|
@ -3170,6 +3170,8 @@ static int get_error_code_from_lib_error_code(int lib_error_code) {
|
||||||
case NGHTTP2_ERR_REFUSED_STREAM:
|
case NGHTTP2_ERR_REFUSED_STREAM:
|
||||||
return NGHTTP2_REFUSED_STREAM;
|
return NGHTTP2_REFUSED_STREAM;
|
||||||
case NGHTTP2_ERR_PROTO:
|
case NGHTTP2_ERR_PROTO:
|
||||||
|
case NGHTTP2_ERR_HTTP_HEADER:
|
||||||
|
case NGHTTP2_ERR_HTTP_MESSAGING:
|
||||||
return NGHTTP2_PROTOCOL_ERROR;
|
return NGHTTP2_PROTOCOL_ERROR;
|
||||||
default:
|
default:
|
||||||
return NGHTTP2_INTERNAL_ERROR;
|
return NGHTTP2_INTERNAL_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue