Fix encoded len
This commit is contained in:
parent
cd93f0ed51
commit
611a43963a
1 changed files with 1 additions and 1 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue