Skip to content

Commit 761cb8e

Browse files
committed
Update Proxy.swift
1 parent 8d50de7 commit 761cb8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/async-http-client/proxy/http/Proxy.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ private extension Http.Proxy{
163163
var nextDelay: UInt64 = 1
164164

165165
if retry > 1{
166-
let limit = retry - 1
167-
for i in 1...limit{
166+
let up = retry - 1
167+
for i in 1...up{
168168
do{
169169
return try await session.data(for: request, delegate: taskDelegate)
170170
}catch{

0 commit comments

Comments
 (0)