Mercurial > hg > nginx-tests
comparison h2_limit_req.t @ 950:991ef7781b38
Tests: h2_limit_req.t cleanup.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 17 Jun 2016 12:04:24 +0300 |
parents | 4dc302d8e04f |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
949:c657aaffdaa8 | 950:991ef7781b38 |
---|---|
67 $t->write_file('index.html', ''); | 67 $t->write_file('index.html', ''); |
68 $t->write_file('t.html', 'SEE-THIS'); | 68 $t->write_file('t.html', 'SEE-THIS'); |
69 $t->run(); | 69 $t->run(); |
70 | 70 |
71 ############################################################################### | 71 ############################################################################### |
72 my $sess; | 72 |
73 # request body delayed in limit_req | 73 # request body delayed in limit_req |
74 | 74 |
75 my $s = Test::Nginx::HTTP2->new(); | 75 my $s = Test::Nginx::HTTP2->new(); |
76 my $sid = $s->new_stream({ path => '/proxy_limit_req/', body_more => 1 }); | 76 my $sid = $s->new_stream({ path => '/proxy_limit_req/', body_more => 1 }); |
77 $s->h2_body('TEST'); | 77 $s->h2_body('TEST'); |