This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new b79c0f824a Downgrade H2 stream error log (#13298)
b79c0f824a is described below

commit b79c0f824aa96340f8a3bf3e77211489b77d512a
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Jun 23 12:55:14 2026 -0500

    Downgrade H2 stream error log (#13298)
    
    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 e62dfc853e..c6cf78aea3 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<int>(error.code), error.msg);
+      Http2SsnDebug("HTTP/2 stream error code=0x%02x %s", 
static_cast<int>(error.code), error.msg);
     }
 
     remove_session();

Reply via email to