diff --git a/internal/proxy/timeouts_test.go b/internal/proxy/timeouts_test.go index e964d57..96562e7 100644 --- a/internal/proxy/timeouts_test.go +++ b/internal/proxy/timeouts_test.go @@ -29,7 +29,10 @@ func TestRequestTimeouts(t *testing.T) { env map[string]string // appTakesNothing has the app never read, while the client sends // as fast as it can; otherwise the app reads, and the client - // stops sending halfway. + // stops sending halfway. smallwebwaf then waits on the client + // only once it has connected to the app and passed on the first + // bytes; a test process held up for shortTimeout before that + // gets 504, which is the right answer, and the case fails. appTakesNothing bool want int }{