mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
Revert "feat: support proxy for ws connection" (#9693)
Reverts openai/codex#9409
This commit is contained in:
@@ -923,7 +923,7 @@ pub async fn start_websocket_server_with_headers(
|
||||
let Ok(payload) = serde_json::to_string(event) else {
|
||||
continue;
|
||||
};
|
||||
if ws_stream.send(Message::Text(payload.into())).await.is_err() {
|
||||
if ws_stream.send(Message::Text(payload)).await.is_err() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user