Skip to content

Route requests through _http_request to avoid HTTP/2 stalls - #38

Open
tmcgrath325 wants to merge 1 commit into
JuliaHealth:masterfrom
tmcgrath325:tmm/http1
Open

Route requests through _http_request to avoid HTTP/2 stalls#38
tmcgrath325 wants to merge 1 commit into
JuliaHealth:masterfrom
tmcgrath325:tmm/http1

Conversation

@tmcgrath325

Copy link
Copy Markdown

Under HTTP/2 all requests to a host multiplex over one shared connection, so a single wedged connection stalls every subsequent request. This switches the default to HTTP/1.1, whose independent pooled connections confine a stall to the one request, and bound the read-inactivity time so a request cannot hang indefinitely.

Under HTTP/2 all requests to a host multiplex over one shared
connection, so a single wedged connection stalls every subsequent
request. Pin HTTP/1.1, whose independent pooled connections confine a
stall to the one request, and bound the read-inactivity time so a
request cannot hang indefinitely.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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