Mercurial > hg > nginx-tests
comparison h2.t @ 1465:93633a10e33d
Tests: run HTTP/2 unsafe socket tests on a fresh connection.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 19 Apr 2019 18:28:27 +0300 |
parents | 97c8280de681 |
children | b02d0fd71638 |
comparison
equal
deleted
inserted
replaced
1464:4bc1490cedbc | 1465:93633a10e33d |
---|---|
850 # ask write handler in sending large response | 850 # ask write handler in sending large response |
851 | 851 |
852 SKIP: { | 852 SKIP: { |
853 skip 'unsafe socket tests', 4 unless $ENV{TEST_NGINX_UNSAFE}; | 853 skip 'unsafe socket tests', 4 unless $ENV{TEST_NGINX_UNSAFE}; |
854 | 854 |
855 $s = Test::Nginx::HTTP2->new(); | |
855 $sid = $s->new_stream({ path => '/tbig.html' }); | 856 $sid = $s->new_stream({ path => '/tbig.html' }); |
856 | 857 |
857 $s->h2_window(2**30, $sid); | 858 $s->h2_window(2**30, $sid); |
858 $s->h2_window(2**30); | 859 $s->h2_window(2**30); |
859 | 860 |