|
@@ -93,7 +93,9 @@ func NewDynamicProxyCore(target *url.URL, prepender string) *ReverseProxy {
|
|
|
thisTransporter := http.DefaultTransport
|
|
|
thisTransporter.(*http.Transport).MaxIdleConns = 1000
|
|
|
thisTransporter.(*http.Transport).MaxIdleConnsPerHost = 1000
|
|
|
+ thisTransporter.(*http.Transport).IdleConnTimeout = 30 * time.Second
|
|
|
thisTransporter.(*http.Transport).MaxConnsPerHost = 120
|
|
|
+ thisTransporter.(*http.Transport).DisableCompression = true
|
|
|
|
|
|
return &ReverseProxy{
|
|
|
Director: director,
|