Pre-release cleanup.

This commit is contained in:
2025-09-16 23:04:20 +01:00
parent 99c30c0e29
commit ff2562f9fe
22 changed files with 4353 additions and 52 deletions
+4 -10
View File
@@ -81,16 +81,10 @@ func (rm *ResourceManager) GetHTTPClient(key string) *http.Client {
return client
}
// Create new HTTP client with reasonable defaults
client = &http.Client{
Timeout: 30 * time.Second,
Transport: &http.Transport{
MaxIdleConns: 100,
MaxIdleConnsPerHost: 10,
IdleConnTimeout: 90 * time.Second,
DisableKeepAlives: false,
},
}
// SECURITY FIX: Use secure HTTP client configuration with limits
config := DefaultHTTPClientConfig()
factory := NewHTTPClientFactory()
client = factory.CreateHTTPClient(config)
rm.httpClients[key] = client
return client