Tests: h2.t tests speedup.
diff --git a/h2.t b/h2.t
index 1d8aa5e..19ffc7c 100644
--- a/h2.t
+++ b/h2.t
@@ -111,6 +111,7 @@
server_name localhost;
send_timeout 1s;
+ lingering_close off;
}
server {
@@ -119,6 +120,7 @@
client_header_timeout 1s;
client_body_timeout 1s;
+ lingering_close off;
location / { }
@@ -1133,7 +1135,7 @@
# GOAWAY - force closing a connection by server with idle or active streams
-$s = Test::Nginx::HTTP2->new();
+$s = Test::Nginx::HTTP2->new(port(8086));
$sid = $s->new_stream();
$s->read(all => [{ sid => $sid, fin => 1 }]);