Skip to content
Snippets Groups Projects
Commit 62fb089e authored by kr328's avatar kr328
Browse files

Fix: system proxy should handle connection in parallel

parent 51dab21f
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ import ( ...@@ -13,7 +13,7 @@ import (
) )
const ( const (
LocalHttpTimeout = time.Millisecond * 100 LocalHttpTimeout = time.Minute * 5
) )
var listener *httpListener var listener *httpListener
...@@ -55,7 +55,7 @@ func Start(listen string) (listenAt string, err error) { ...@@ -55,7 +55,7 @@ func Start(listen string) (listenAt string, err error) {
_ = conn.(*net.TCPConn).SetKeepAlive(false) _ = conn.(*net.TCPConn).SetKeepAlive(false)
h.handleConn(conn) go h.handleConn(conn)
} }
}() }()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment