mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-02-21 09:13:16 +03:00
Fix: system proxy should handle connection in parallel
This commit is contained in:
parent
51dab21f6f
commit
62fb089e27
@ -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) {
|
|||||||
|
|
||||||
_ = conn.(*net.TCPConn).SetKeepAlive(false)
|
_ = conn.(*net.TCPConn).SetKeepAlive(false)
|
||||||
|
|
||||||
h.handleConn(conn)
|
go h.handleConn(conn)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user