-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP/2 max local stream count exceeded when request fails #2796
Comments
The issue is that |
sbordet
added a commit
that referenced
this issue
Aug 14, 2018
…_streams_local_timeout Fixes #2796 - Max local stream count exceeded when request fails.
sbordet
added a commit
that referenced
this issue
Oct 9, 2018
Reviewed other possible places where max local stream count may overflow. Fixed handling of HTTP/2 stream idle timeouts. Signed-off-by: Simone Bordet <[email protected]>
sbordet
added a commit
that referenced
this issue
Oct 11, 2018
Bound release of the channel to stream close event. Signed-off-by: Simone Bordet <[email protected]>
sbordet
added a commit
that referenced
this issue
Oct 18, 2018
Updates after review. Signed-off-by: Simone Bordet <[email protected]>
sbordet
added a commit
that referenced
this issue
Oct 30, 2018
Restored smaller maxContentLength to avoid that the test takes too much time and fails. Signed-off-by: Simone Bordet <[email protected]>
sbordet
added a commit
that referenced
this issue
Nov 1, 2018
…urrent_streams Issue #2796 - Max local stream count exceeded when request fails.
joakime
changed the title
Max local stream count exceeded when request fails
HTTP/2 max local stream count exceeded when request fails
Nov 6, 2018
sbordet
added a commit
that referenced
this issue
Aug 22, 2020
Reworked HTTP/2 release after an exchange is terminated. Previously, the release was bound to 2 events: onStreamClosed(), introduced for #2796, and exchangeTerminated(). Unfortunately, if the former happens before the latter and closes the connection, the latter will see the exchange as aborted, while in fact it was successful, causing what reported in #5147, an AsynchronousCloseException. Now, the release is always performed by the exchangeTerminated() event. With respect to #2796, the stream is always already closed by the time the exchangeTerminated() event fires (it was not before). Reworked the implementation of RoundRobinConnectionPool using a lock and aggressively trying to open new connections. A second fix is related to HttpDestination.release(Connection). If the connection is closed for e.g. overuse, we need to trigger the processing of queued requests via send(create: true). Signed-off-by: Simone Bordet <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: