mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-03 06:22:14 +02:00
Merge pull request #326 from strukturag/proxy-backendclient
Use proxy from environment for backend client requests.
This commit is contained in:
commit
4dfffca285
|
@ -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