summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy/fastcgi
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2020-08-20 16:04:10 -0400
committerGitHub <noreply@github.com>2020-08-20 14:04:10 -0600
commit0279a57ac465b2920abf71d86203d9feac2015b5 (patch)
treec3f6743d9eef7adb5c1df562acb1defe0bdd8ba3 /modules/caddyhttp/reverseproxy/fastcgi
parentc94f5bb7dd3c98d6573c44f06d99c7252911a9fa (diff)
ci: Upgrade to Go 1.15 (#3642)
* ci: Try Go 1.15 RC1 out of curiosity * Go 1.15 was released; let's try it * Update to latest quic-go * Attempt at fixing broken test Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi')
-rw-r--r--modules/caddyhttp/reverseproxy/fastcgi/client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/client_test.go b/modules/caddyhttp/reverseproxy/fastcgi/client_test.go
index c090f3c..f0740a4 100644
--- a/modules/caddyhttp/reverseproxy/fastcgi/client_test.go
+++ b/modules/caddyhttp/reverseproxy/fastcgi/client_test.go
@@ -249,7 +249,7 @@ func DisabledTest(t *testing.T) {
log.Println("test:", "post data (more than 60KB)")
data := ""
for i := 0x00; i < 0xff; i++ {
- v0 := strings.Repeat(string(i), 256)
+ v0 := strings.Repeat(fmt.Sprint(i), 256)
h := md5.New()
_, _ = io.WriteString(h, v0)
k0 := fmt.Sprintf("%x", h.Sum(nil))
@@ -266,7 +266,7 @@ func DisabledTest(t *testing.T) {
log.Println("test:", "post forms (256 keys, more than 1MB)")
p1 := make(map[string]string, 1)
for i := 0x00; i < 0xff; i++ {
- v0 := strings.Repeat(string(i), 4096)
+ v0 := strings.Repeat(fmt.Sprint(i), 4096)
h := md5.New()
_, _ = io.WriteString(h, v0)
k0 := fmt.Sprintf("%x", h.Sum(nil))