mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
This reverts commit 183e9273b889a3206a917887f0535526d6e48f59.
This commit is contained in:
committed by
tangmengqiu
parent
3451d7bfac
commit
575aef2156
@@ -7,7 +7,6 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
"net/http"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
)
|
||||
@@ -33,7 +32,6 @@ func NewCombinedStreamsClient(batchSize int) *CombinedStreamsClient {
|
||||
func (c *CombinedStreamsClient) Connect() error {
|
||||
dialer := websocket.Dialer{
|
||||
HandshakeTimeout: 10 * time.Second,
|
||||
Proxy : http.ProxyFromEnvironment,
|
||||
}
|
||||
|
||||
// 组合流使用不同的端点
|
||||
|
||||
Reference in New Issue
Block a user