Skip to content

Reuse upstream HTTP connections for Responses requests - #22

Closed
Ovler-Young wants to merge 1 commit into
mainfrom
fix/reuse-upstream-http-clients
Closed

Ovler-Young wants to merge 1 commit into
mainfrom
fix/reuse-upstream-http-clients

Conversation

@Ovler-Young

Copy link
Copy Markdown
Collaborator

Responses requests now reuse the upstream HTTP client for a given upstream URL, preserving connection pooling across requests. The client is replaced when the URL changes; authentication, provider selection, and session handling remain per request.

Validation:

  • Regression coverage confirms compatible/native/compatible streaming calls use one upstream TCP connection instead of three.
  • cargo test --workspace --locked: 301 passed, 12 existing ignored.
  • cargo fmt and scoped diff checks passed.

@Ovler-Young Ovler-Young closed this Nov 2, 2026
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