Mercurial > hg > nginx-tests
comparison h2_limit_req.t @ 907:44f37197181f
Tests: adjusted HTTP/2 TODOs.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 19 Apr 2016 18:07:13 +0300 |
parents | b4e9d2d97b7a |
children | 9045591d4304 |
comparison
equal
deleted
inserted
replaced
906:0654d7315b52 | 907:44f37197181f |
---|---|
80 my ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; | 80 my ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; |
81 is(read_body_file($frame->{headers}->{'x-body-file'}), 'TEST', | 81 is(read_body_file($frame->{headers}->{'x-body-file'}), 'TEST', |
82 'request body - limit req'); | 82 'request body - limit req'); |
83 | 83 |
84 TODO: { | 84 TODO: { |
85 local $TODO = 'not yet'; | 85 local $TODO = 'not yet' unless $t->has_version('1.9.15'); |
86 | 86 |
87 $sess = new_session(); | 87 $sess = new_session(); |
88 $sid = new_stream($sess, { path => '/proxy_limit_req/', body_more => 1 }); | 88 $sid = new_stream($sess, { path => '/proxy_limit_req/', body_more => 1 }); |
89 h2_body($sess, 'TEST'); | 89 h2_body($sess, 'TEST'); |
90 select undef, undef, undef, 1.1; | 90 select undef, undef, undef, 1.1; |