mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
update outbound
This commit is contained in:
parent
4c5d288f03
commit
2b7fbd2a0d
8 changed files with 139 additions and 46 deletions
|
|
@ -47,7 +47,9 @@ func initChunkedHTTPClient(cfg *config.Config) {
|
|||
KeepAlive: 30 * time.Second,
|
||||
}).DialContext,
|
||||
}
|
||||
initTransport(cfg, ctr)
|
||||
if cfg.Outbound.Enabled {
|
||||
initTransport(cfg, ctr)
|
||||
}
|
||||
cclient = &http.Client{
|
||||
Transport: ctr,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue