Mercurial > hg > nginx-tests
changeset 1651:a78eedc39484
Tests: h2.t tests speedup.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 10 Feb 2021 15:12:56 +0300 |
parents | cdba06625d65 |
children | 21f511a7f5c3 |
files | h2.t |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h2.t +++ b/h2.t @@ -111,6 +111,7 @@ http { server_name localhost; send_timeout 1s; + lingering_close off; } server { @@ -119,6 +120,7 @@ http { client_header_timeout 1s; client_body_timeout 1s; + lingering_close off; location / { } @@ -1133,7 +1135,7 @@ is($sum, 81, 'GOAWAY with active stream # 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 }]);