Skip to content

Commit 9c0e39f

Browse files
Fix proxy auth bug
fixes #1513
1 parent a9d57a9 commit 9c0e39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fasthttpproxy/proxy_env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func FasthttpProxyHTTPDialerTimeout(timeout time.Duration) fasthttp.DialFunc {
9090
auth := authBarrierStorage.Load()
9191
if auth == nil {
9292
authBarrier := base64.StdEncoding.EncodeToString([]byte(proxyURL.User.String()))
93-
auth := &authBarrier
93+
auth = &authBarrier
9494
authBarrierStorage.Store(auth)
9595
}
9696

0 commit comments

Comments
 (0)