You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merged PR 33980: Track indicators of excessive stream resets
Track indicators of excessive stream resets
If the server has to send a lot of ENHANCE_YOUR_CALM messages or the output control flow queue is very large, there are probably a larger than expected number of client-initiated stream resets.
Cherry picked from !33914
Copy file name to clipboardExpand all lines: src/Servers/Kestrel/Core/src/Internal/Http2/Http2FrameWriter.cs
+52-4Lines changed: 52 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,31 @@ internal sealed class Http2FrameWriter
20
20
// This uses C# compiler's ability to refer to static data directly. For more information see https://vcsjones.dev/2019/02/01/csharp-readonly-span-bytes-static
// Highest shared ID is 63. New consecutive IDs start at 64
148
+
149
+
[LoggerMessage(64,LogLevel.Debug,@"Connection id ""{ConnectionId}"" aborted since at least {Count} ENHANCE_YOUR_CALM responses were recorded per second.",EventName="Http2TooManyEnhanceYourCalms")]
[LoggerMessage(65,LogLevel.Debug,@"Connection id ""{ConnectionId}"" exceeded the output flow control maximum queue size of {Count}.",EventName="Http2FlowControlQueueOperationsExceeded")]
[LoggerMessage(66,LogLevel.Debug,@"Connection id ""{ConnectionId}"" configured maximum flow control queue size {Actual} is less than the maximum streams per connection {Expected}. Increasing configured value to {Expected}.",EventName="Http2FlowControlQueueMaximumTooLow")]
0 commit comments