Skip to content

Commit

Permalink
Fix proxy auth bug
Browse files Browse the repository at this point in the history
fixes #1513
  • Loading branch information
erikdubbelboer committed Mar 8, 2023
1 parent a9d57a9 commit 9c0e39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fasthttpproxy/proxy_env.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func FasthttpProxyHTTPDialerTimeout(timeout time.Duration) fasthttp.DialFunc {
auth := authBarrierStorage.Load()
if auth == nil {
authBarrier := base64.StdEncoding.EncodeToString([]byte(proxyURL.User.String()))
auth := &authBarrier
auth = &authBarrier
authBarrierStorage.Store(auth)
}

Expand Down

0 comments on commit 9c0e39f

Please sign in to comment.