mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-10-01 12:17:53 +00:00
Fix: remove ResponseHeaderTimeout limitation (#1690)
This commit is contained in:
parent
c6cceeb0c5
commit
a7aea12aa6
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ func newClient(source net.Addr, in chan<- C.ConnContext) *http.Client {
|
|||
MaxIdleConns: 100,
|
||||
IdleConnTimeout: 90 * time.Second,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ResponseHeaderTimeout: 10 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
DialContext: func(context context.Context, network, address string) (net.Conn, error) {
|
||||
if network != "tcp" && network != "tcp4" && network != "tcp6" {
|
||||
|
|
Loading…
Reference in a new issue