缓存条件增加是否允许异步读取源站选项

This commit is contained in:
刘祥超
2023-07-31 15:49:04 +08:00
parent 547874aa43
commit c8142741ff
3 changed files with 125 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ func (this *HTTPClientPool) Client(req *HTTPRequest,
return nil, err
}
return conn, nil
return NewOriginConn(conn), nil
},
MaxIdleConns: 0,
MaxIdleConnsPerHost: idleConns,