comparison h2_proxy_request_buffering_ssl.t @ 1251:766bcbb632ee

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 24 Nov 2017 19:58:40 +0300
parents 0af58b78df35
children 6ca8b38f63b6
comparison
equal deleted inserted replaced
1250:b708848eb49a 1251:766bcbb632ee
97 . ">>$d/openssl.out 2>&1") == 0 97 . ">>$d/openssl.out 2>&1") == 0
98 or die "Can't create certificate for $name: $!\n"; 98 or die "Can't create certificate for $name: $!\n";
99 } 99 }
100 100
101 $t->run(); 101 $t->run();
102
103 my $f = get_body('/chunked');
104 plan(skip_all => 'no unbuffered request body') unless $f;
105 $f->{http_end}();
106
107 $t->plan(40); 102 $t->plan(40);
108 103
109 ############################################################################### 104 ###############################################################################
110 105
111 # unbuffered request body 106 # unbuffered request body
112 107
113 $f = get_body('/', 'content-length' => 10); 108 my $f = get_body('/', 'content-length' => 10);
114 ok($f->{headers}, 'request'); 109 ok($f->{headers}, 'request');
115 is($f->{upload}('01234', body_more => 1), '01234', 'part'); 110 is($f->{upload}('01234', body_more => 1), '01234', 'part');
116 is($f->{upload}('56789'), '56789', 'part 2'); 111 is($f->{upload}('56789'), '56789', 'part 2');
117 is($f->{http_end}(), 200, 'response'); 112 is($f->{http_end}(), 200, 'response');
118 113