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 Tue Feb 09 14:24:34 2021 +0300 +++ b/h2.t Wed Feb 10 15:12:56 2021 +0300 @@ -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 }]);