mirror of
https://github.com/openai/codex.git
synced 2026-11-02 16:20:35 +00:00
Revert "feat: support proxy for ws connection" (#9693)
Reverts openai/codex#9409
This commit is contained in:
1 parent
a4cb97ba5a
commit
4d48d4e0c2
9 files changed
+25
-43
No files matched your search
@@ -169,8 +169,7 @@ pub fn build_reqwest_client() -> reqwest::Client {
|
||||
let mut builder = reqwest::Client::builder()
|
||||
// Set UA via dedicated helper to avoid header validation pitfalls
|
||||
.user_agent(ua)
|
||||
.default_headers(headers)
|
||||
.use_rustls_tls();
|
||||
.default_headers(headers);
|
||||
if is_sandboxed() {
|
||||
builder = builder.no_proxy();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user