rpc: websocket should respect the HTTP_PROXY by default #27264 (#989)

This commit is contained in:
Daniel Liu 2025-04-28 10:44:31 +08:00 committed by GitHub
parent 16969b1569
commit e6b7ae906b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,6 +224,7 @@ func newClientTransportWS(endpoint string, cfg *clientConfig) (reconnectFunc, er
ReadBufferSize: wsReadBuffer,
WriteBufferSize: wsWriteBuffer,
WriteBufferPool: wsBufferPool,
Proxy: http.ProxyFromEnvironment,
}
}