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
HTTP/2: keep the shutdown cause when failing stream entities #1502
When an HTTP/2 connection shuts down, shutdownStreamHandling() closes every stream without being told why, and the stream entities are failed with the shared, cause-less Http2StreamHandling.ConnectionWasAbortedException singleton:
This drops the real reason, e.g. a cancellation cause, a completion timeout or a connection error, so applications can't tell from an entity failure why the connection went away.
Suggestion: pass the cause into shutdownStreamHandling and fail entities with a per-connection exception that wraps it. The client connection-failure test added in #1451 currently pins the singleton and would need to change.
Activity