maskit commented on code in PR #10627:
URL: https://github.com/apache/trafficserver/pull/10627#discussion_r1420972833


##########
include/proxy/http2/Http2CommonSession.h:
##########
@@ -169,6 +174,21 @@ class Http2CommonSession
   int64_t read_from_early_data   = 0;
   bool cur_frame_from_early_data = false;
 
+  // Counter for received frames
+  std::atomic<uint64_t> _frame_counts_in[HTTP2_FRAME_TYPE_MAX + 1] = {

Review Comment:
   There is Http2FrameType, and HTTP2_FRAME_TYPE_MAX is the last item. We need 
one extra space for unknown type.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to