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
{{ message }}
Repository navigation
Sampling more streams to measure error rate correctly #5195
"Closing a H2 connection with high stream error rate" is added by 693b3cb.
The close event could be triggered when the first stream got error regardless value of proxy.config.http2.stream_error_rate_threshold. Because the error rate bacomes 1. We should wait for more streams to measure stream error rate correctly.
We should wait for more streams to measure stream error rate correctly.
Why? If a client sent 1 request and it failed, the error rate is obviously 100%.
A error rate won't be less than 10% until a client makes 10 requests if a stream error happened on the first stream, and it would be 20 if the threshold was 5%.
Do we want more requests from a client that cannot do things correctly on the first stream?
Activity
maskit commentedon Mar 28, 2019
Why? If a client sent 1 request and it failed, the error rate is obviously 100%.
A error rate won't be less than 10% until a client makes 10 requests if a stream error happened on the first stream, and it would be 20 if the threshold was 5%.
Do we want more requests from a client that cannot do things correctly on the first stream?
masaori335 commentedon Jun 10, 2020
Fixed by #6525