diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2023-03-08 20:13:22 +0100 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2023-03-08 20:13:22 +0100 |
commit | 9c0e39f092f7dd0b0a2b9e2c9d7c1786dfdd6082 (patch) | |
tree | 4e14aad2eb8b7d742488b94b17ae0cc562e707a1 /fasthttpproxy | |
parent | client: remove unused go:build comment (#1511) (diff) | |
download | fasthttp-9c0e39f092f7dd0b0a2b9e2c9d7c1786dfdd6082.tar.gz fasthttp-9c0e39f092f7dd0b0a2b9e2c9d7c1786dfdd6082.tar.bz2 fasthttp-9c0e39f092f7dd0b0a2b9e2c9d7c1786dfdd6082.zip |
Fix proxy auth bug
fixes #1513
Diffstat (limited to 'fasthttpproxy')
-rw-r--r-- | fasthttpproxy/proxy_env.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttpproxy/proxy_env.go b/fasthttpproxy/proxy_env.go index 310704e..393f429 100644 --- a/fasthttpproxy/proxy_env.go +++ b/fasthttpproxy/proxy_env.go @@ -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) } |