Skip to content

Commit

Permalink
Fix encoded len
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Nov 2, 2023
1 parent cd93f0e commit 611a439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func TestMain(m *testing.M) {
},
}

upstreamBuf := make([]byte, base64.StdEncoding.EncodedLen(9))
upstreamBuf := make([]byte, base64.StdEncoding.EncodedLen(25))
base64.StdEncoding.Encode(upstreamBuf, []byte("upstreamtest:upstreampass"))

caddyHTTPForwardProxyAuth = caddyTestServer{
Expand Down

0 comments on commit 611a439

Please sign in to comment.