Compare commits
1
Commits
7da6e147ef
...
23df4310f8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23df4310f8 |
@@ -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
|
||||
}{
|
||||
|
||||
Reference in New Issue
Block a user