Skip to content

Commit 77057e1

Browse files
catenacybervictorjulien
authored andcommitted
http2: add INTERNAL_ERROR for http2.error_code keyword
1 parent 77d5c7c commit 77057e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/src/http2/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ impl std::str::FromStr for HTTP2ErrorCode {
139139
match su_slice {
140140
"NO_ERROR" => Ok(HTTP2ErrorCode::NoError),
141141
"PROTOCOL_ERROR" => Ok(HTTP2ErrorCode::ProtocolError),
142+
"INTERNAL_ERROR" => Ok(HTTP2ErrorCode::InternalError),
142143
"FLOW_CONTROL_ERROR" => Ok(HTTP2ErrorCode::FlowControlError),
143144
"SETTINGS_TIMEOUT" => Ok(HTTP2ErrorCode::SettingsTimeout),
144145
"STREAM_CLOSED" => Ok(HTTP2ErrorCode::StreamClosed),

0 commit comments

Comments
 (0)