Mercurial > hg > nginx-tests
comparison grpc_ssl.t @ 1415:01d806268a12
Tests: removed TODOs for gRPC fixes merged in 1.14.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 11 Dec 2018 18:59:31 +0300 |
parents | 97c8280de681 |
children | dbce8fb5f5f8 |
comparison
equal
deleted
inserted
replaced
1414:f5b18471e17a | 1415:01d806268a12 |
---|---|
203 $f->{data}('Hello'); | 203 $f->{data}('Hello'); |
204 $frames = $f->{http_end}(); | 204 $frames = $f->{http_end}(); |
205 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; | 205 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; |
206 ok($c = $frame->{headers}{'x-connection'}, 'keepalive - connection'); | 206 ok($c = $frame->{headers}{'x-connection'}, 'keepalive - connection'); |
207 | 207 |
208 TODO: { | |
209 local $TODO = 'not yet' if ($^O eq 'MSWin32' or $^O eq 'solaris') | |
210 and !$t->has_version('1.15.4'); | |
211 | |
212 $f->{http_start}('/KeepAlive'); | 208 $f->{http_start}('/KeepAlive'); |
213 $f->{data}('Hello'); | 209 $f->{data}('Hello'); |
214 $frames = $f->{http_end}(); | 210 $frames = $f->{http_end}(); |
215 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; | 211 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; |
216 is($frame->{headers}{'x-connection'}, $c, 'keepalive - connection reuse'); | 212 is($frame->{headers}{'x-connection'}, $c, 'keepalive - connection reuse'); |
217 | |
218 } | |
219 | 213 |
220 ############################################################################### | 214 ############################################################################### |
221 | 215 |
222 sub grpc { | 216 sub grpc { |
223 my ($server, $client, $f, $s, $c, $sid, $uri); | 217 my ($server, $client, $f, $s, $c, $sid, $uri); |