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

maskit 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 a8efca5897 Fix H2 debug message for a rate limit (#10583)
a8efca5897 is described below

commit a8efca589716168a9c9cb32a74ddcb0915d59f7f
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Wed Oct 11 06:00:59 2023 +0900

    Fix H2 debug message for a rate limit (#10583)
---
 proxy/http2/Http2ConnectionState.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 471355535b..9cff228851 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -630,7 +630,7 @@ Http2ConnectionState::rcv_rst_stream_frame(const Http2Frame 
&frame)
       this->get_received_rst_stream_frame_count() > 
configured_max_rst_stream_frames_per_minute) {
     Metrics::increment(http2_rsb.max_rst_stream_frames_per_minute_exceeded);
     Http2StreamDebug(this->session, stream_id, "Observed too frequent 
RST_STREAM frames: %u frames within a last minute",
-                     this->get_received_settings_frame_count());
+                     this->get_received_rst_stream_frame_count());
     return Http2Error(Http2ErrorClass::HTTP2_ERROR_CLASS_CONNECTION, 
Http2ErrorCode::HTTP2_ERROR_ENHANCE_YOUR_CALM,
                       "reset too frequent RST_STREAM frames");
   }

Reply via email to