0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

drop unused len variable

This commit is contained in:
buddhamagnet 2016-03-26 21:14:22 +00:00
parent c981b08b23
commit bb6764fd22

View file

@ -226,16 +226,11 @@ func DisabledTest(t *testing.T) {
log.Println("test:", "post data (more than 60KB)")
data := ""
length := 0
for i := 0x00; i < 0xff; i++ {
v0 := strings.Repeat(string(i), 256)
h := md5.New()
io.WriteString(h, v0)
k0 := fmt.Sprintf("%x", h.Sum(nil))
length += len(k0)
length += len(v0)
data += k0 + "=" + url.QueryEscape(v0) + "&"
}
sendFcgi(0, fcgiParams, []byte(data), nil, nil)