comparison h2.t @ 832:04eb968b0987

Tests: corrected HTTP/2 test timeout for discard body with EOF. Made sure EOF is going after client body timeout.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 28 Jan 2016 12:23:54 +0300
parents c384a2e53c1b
children 62315953d703
comparison
equal deleted inserted replaced
831:c384a2e53c1b 832:04eb968b0987
1499 $frames = h2_read($sess, all => [{ sid => $sid, fin => 1 }]); 1499 $frames = h2_read($sess, all => [{ sid => $sid, fin => 1 }]);
1500 1500
1501 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; 1501 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames;
1502 is($frame->{headers}->{':status'}, '200', 'discard body - limit req - eof'); 1502 is($frame->{headers}->{':status'}, '200', 'discard body - limit req - eof');
1503 1503
1504 select undef, undef, undef, 1.1;
1504 undef $sess; 1505 undef $sess;
1505 1506
1506 } 1507 }
1507 1508
1508 # partial request header frame received (field split), 1509 # partial request header frame received (field split),