Merge branch v2.11 into v3.0
This commit is contained in:
commit
6ca4c5da5c
20 changed files with 220 additions and 217 deletions
|
@ -121,7 +121,7 @@ func Test_MinSize(t *testing.T) {
|
|||
var bodySize int
|
||||
h := mustNewWrapper(t, cfg)(http.HandlerFunc(
|
||||
func(rw http.ResponseWriter, req *http.Request) {
|
||||
for i := 0; i < bodySize; i++ {
|
||||
for range bodySize {
|
||||
// We make sure to Write at least once less than minSize so that both
|
||||
// cases below go through the same algo: i.e. they start buffering
|
||||
// because they haven't reached minSize.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue