Skip to content

Document shared HTTP/2 connection lifetime and uploads - #941

Merged
benoitc merged 1 commit into
masterfrom
docs/h2-shared-conn-lifetime
Sep 21, 2026
Merged

benoitc merged 1 commit into
masterfrom
docs/h2-shared-conn-lifetime

Conversation

@benoitc

@benoitc benoitc commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Documents the behavior from #939 in the HTTP/2 guide. A shared connection has no single owner: a caller's exit resets only its own stream, and the connection closes itself once it has been idle for the pool timeout. A streaming upload uses its connection on its own until start_response/1, because send_body/2 finds the upload through the connection pid.

A shared connection has no owner, so a caller's exit resets only its
own stream, and it closes itself once idle for the pool timeout. A
streaming upload uses its connection on its own until start_response/1,
since send_body/2 finds the upload through the connection pid.
@benoitc
benoitc merged commit e494a51 into master Sep 21, 2026
11 of 12 checks passed
@benoitc
benoitc deleted the docs/h2-shared-conn-lifetime branch September 21, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant