diff --git a/Sources/ClientRuntime/Networking/Http/HttpClientConfiguration.swift b/Sources/ClientRuntime/Networking/Http/HttpClientConfiguration.swift index d40884968..c170df788 100644 --- a/Sources/ClientRuntime/Networking/Http/HttpClientConfiguration.swift +++ b/Sources/ClientRuntime/Networking/Http/HttpClientConfiguration.swift @@ -21,7 +21,7 @@ public class HttpClientConfiguration { /// Sets maximum time to wait between two data packets. /// Used to close stale connections that have no activity. /// - /// Defaults to 60 seconds if no value is provided. + /// Defaults to none if no value is provided. public var socketTimeout: TimeInterval /// HTTP headers to be submitted with every HTTP request. @@ -55,7 +55,7 @@ public class HttpClientConfiguration { /// - tlsConfiguration: Optional custom TLS configuration for HTTPS requests. If `nil`, defaults to a standard configuration. public init( connectTimeout: TimeInterval? = nil, - socketTimeout: TimeInterval = 60.0, + socketTimeout: TimeInterval = 0.0, protocolType: URIScheme = .https, defaultHeaders: Headers = Headers(), tlsConfiguration: (any TLSConfiguration)? = nil