Fix tls security issue

This commit is contained in:
2025-10-26 00:28:53 -07:00
parent 6291cfe218
commit 9ff782f7b6
5 changed files with 1370 additions and 135 deletions
+3 -1
View File
@@ -96,5 +96,7 @@ type ClientConfig struct {
Timeout time.Duration // Request timeout (default: 30s)
MaxRetries int // Max retries on failure (default: 3)
RetryBackoff time.Duration // Backoff between retries (default: 100ms)
TLSInsecure bool // Disable TLS verification (for testing only)
// TLSInsecure disables TLS verification - ONLY for testing with self-signed certs in dev/test environments
// NEVER set this to true in production. Use proper certificates or provide custom CA certificates instead.
TLSInsecure bool
}