From a8d3fd1ac4071d5d24ede99a16398587703e811d Mon Sep 17 00:00:00 2001 From: bneradt Date: Thu, 18 Jun 2026 18:30:31 -0500 Subject: [PATCH] Downgrade H2 stream error log Malformed HTTP/2 parse errors can hit this path during normal bad-client traffic, and logging each one at ERROR keeps diags noisy. PR #13059 now emits transaction log entries for these malformed requests, so operators can diagnose the rejected request without this default error log noise. This downgrades the stream creation failure message to the existing HTTP/2 session debug path. Operators can still enable the http2_cs debug tag when they need the protocol-level detail. --- src/proxy/http2/Http2ServerSession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy/http2/Http2ServerSession.cc b/src/proxy/http2/Http2ServerSession.cc index e62dfc853e1..c6cf78aea38 100644 --- a/src/proxy/http2/Http2ServerSession.cc +++ b/src/proxy/http2/Http2ServerSession.cc @@ -328,7 +328,7 @@ Http2ServerSession::new_transaction() if (!stream || connection_state.is_peer_concurrent_stream_ub()) { if (error.cls != Http2ErrorClass::HTTP2_ERROR_CLASS_NONE) { - Error("HTTP/2 stream error code=0x%02x %s", static_cast(error.code), error.msg); + Http2SsnDebug("HTTP/2 stream error code=0x%02x %s", static_cast(error.code), error.msg); } remove_session();