We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1dc44 commit 1b2443eCopy full SHA for 1b2443e
Sources/async-http-client/proxy/http/Proxy.swift
@@ -158,7 +158,7 @@ private extension Http.Proxy{
158
_ taskDelegate: ITaskDelegate? = nil
159
) async throws -> (Data, URLResponse)
160
{
161
- guard retry < 0 else { throw HttpProxyError.RetryMustBePositive }
+ guard retry > -1 else { throw HttpProxyError.RetryMustBePositive }
162
163
let sesstion = config.getSession
164
var nextDelay: UInt64 = 1
0 commit comments