]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http2: add INTERNAL_ERROR for http2.error_code keyword 14039/head
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 15 Oct 2025 18:25:45 +0000 (20:25 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 15 Oct 2025 19:42:57 +0000 (21:42 +0200)
rust/src/http2/parser.rs

index 9d79b8cf1a0b73b226d73a9a863da1eb16d2c364..6ec494cfebd056811b87b6ea4b7b12a2c4082deb 100644 (file)
@@ -139,6 +139,7 @@ impl std::str::FromStr for HTTP2ErrorCode {
         match su_slice {
             "NO_ERROR" => Ok(HTTP2ErrorCode::NoError),
             "PROTOCOL_ERROR" => Ok(HTTP2ErrorCode::ProtocolError),
+            "INTERNAL_ERROR" => Ok(HTTP2ErrorCode::InternalError),
             "FLOW_CONTROL_ERROR" => Ok(HTTP2ErrorCode::FlowControlError),
             "SETTINGS_TIMEOUT" => Ok(HTTP2ErrorCode::SettingsTimeout),
             "STREAM_CLOSED" => Ok(HTTP2ErrorCode::StreamClosed),