Skip to content

Client: allow callers to supply an HTTP client - #528

Merged
yzhuang-oai merged 1 commit into
mainfrom
dev/yzhuang/orchard-http-client-upstream
Oct 30, 2026
Merged

yzhuang-oai merged 1 commit into
mainfrom
dev/yzhuang/orchard-http-client-upstream

Conversation

@yzhuang-oai

Copy link
Copy Markdown
Contributor

Problem

The SDK always creates its own HTTP client, preventing applications from supplying their redirect policy and managing idle connections.

Solution

Add WithHTTPClient for HTTP and WebSocket requests. Keep existing defaults when the option is omitted or nil, and leave transport configuration and cleanup with the caller.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T22:15:25.406511Z dae6eb8 PR opened
🔒 Security Review ✅ Completed 2026-10-30T22:16:05.519690Z dae6eb8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yzhuang-oai
yzhuang-oai merged commit 04c306a into main Oct 30, 2026
3 checks passed
@yzhuang-oai
yzhuang-oai deleted the dev/yzhuang/orchard-http-client-upstream branch October 30, 2026 23:04
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.

2 participants