-
Notifications
You must be signed in to change notification settings - Fork 2k
Fixes #13962 - HTTP/2 Client connection timeout does not work. #13979
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
base: jetty-12.1.x
Are you sure you want to change the base?
Fixes #13962 - HTTP/2 Client connection timeout does not work. #13979
Conversation
The problem was that ALPNClientConnection, which is set up when using a HttpClientTransportDynamic with h1 and h2, does not properly override onIdleExpired(). Fixed by overriding onIdleExpired() and failing the connection promise, so that the error is reported to the application. Signed-off-by: Simone Bordet <[email protected]>
|
failing for me locally as well |
|
this is happening only with h2 test Line 746 in cc986ad
In the case of h2, the cause is Easy fix would be to add |
Signed-off-by: Olivier Lamy <[email protected]>
) #13976 allow configuring the default max local streams on the H2 client Signed-off-by: Ludovic Orban <[email protected]>
Signed-off-by: Ludovic Orban <[email protected]>
* Fix #13883 handle logged null throwable * Using fluent API --------- Co-authored-by: Joakim Erdfelt <[email protected]>
Signed-off-by: Lachlan Roberts <[email protected]>
… will perform the last write upon completion Signed-off-by: Ludovic Orban <[email protected]>
…1.x/13962-alpn-connection-idle-timeout
|
@olamy this wouldn't help. For some yet unknown reason, this test is flaky but the code change looks good. |
|
@olamy we need to figure out why this test regularly fails in CI and your environment while it doesn't in mine. I'm 99% sure the problem is in the test itself, but without being able to reproduce it, there isn't much I can do. |
The problem was that ALPNClientConnection, which is set up when using a HttpClientTransportDynamic with h1 and h2, does not properly override onIdleExpired().
Fixed by overriding onIdleExpired() and failing the connection promise, so that the error is reported to the application.