mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-08 08:52:27 +02:00
Use proxy from environment for backend client requests.
This commit is contained in:
parent
06a1d072f1
commit
f1f018e338
|
@ -84,6 +84,7 @@ func NewHttpClientPool(maxConcurrentRequestsPerHost int, skipVerify bool) (*Http
|
||||||
transport := &http.Transport{
|
transport := &http.Transport{
|
||||||
MaxIdleConnsPerHost: maxConcurrentRequestsPerHost,
|
MaxIdleConnsPerHost: maxConcurrentRequestsPerHost,
|
||||||
TLSClientConfig: tlsconfig,
|
TLSClientConfig: tlsconfig,
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
}
|
}
|
||||||
|
|
||||||
result := &HttpClientPool{
|
result := &HttpClientPool{
|
||||||
|
|
Loading…
Reference in a new issue