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
http2: need a way to deal with aborted connections #21836
The test issues in #21561 highlighted that we have an issue in HTTP/2 with dealing with aborted connections. At this point, it’s not obvious how to do so in a cross-platform manner without triggering uncaught exceptions.
I think it should be emitted by the server’s stream. Isn’t it?
Yes. But how would one know that? It’s not like this is documented or necessarily logical, because network connections match HTTP/2 sessions, not HTTP/2 streams. I’ll be opening a PR with a test update + docs shortly.
Activity
mcollina commentedon Jul 17, 2018
I think it should be emitted by the server’s stream. Isn’t it? Can you attach a full stacktrace?
Is this causing problems on Windows?
addaleax commentedon Jul 17, 2018
Yes. But how would one know that? It’s not like this is documented or necessarily logical, because network connections match HTTP/2 sessions, not HTTP/2 streams. I’ll be opening a PR with a test update + docs shortly.
test: fix http2 connection abort test
doc: document http2 network error behaviour
test: fix http2 connection abort test
test: fix http2 connection abort test
doc: document http2 network error behaviour
doc: document http2 network error behaviour
doc: document http2 network error behaviour