Tests: assorted fixes in previous change.
diff --git a/h2_limit_req.t b/h2_limit_req.t index b13943d..8a81613 100644 --- a/h2_limit_req.t +++ b/h2_limit_req.t
@@ -24,7 +24,7 @@ select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite limit_req/) - ->plan(6); + ->plan(7); $t->todo_alerts() unless $t->has_version('1.9.14'); @@ -172,7 +172,9 @@ abort => 1 }); select undef, undef, undef, 1.1; -undef $sess; +close $sess->{socket}; + +pass('discard body - limit req - eof'); }