comparison proxy_chunked_extra.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents 463d6863d360
children
comparison
equal deleted inserted replaced
1692:f6795e2e6a4b 1693:5ac6efbe5552
57 $t->run_daemon(\&http_chunked_daemon); 57 $t->run_daemon(\&http_chunked_daemon);
58 $t->run()->waitforsocket('127.0.0.1:' . port(8081)); 58 $t->run()->waitforsocket('127.0.0.1:' . port(8081));
59 59
60 ############################################################################### 60 ###############################################################################
61 61
62 TODO: {
63 local $TODO = 'not yet' unless $t->has_version('1.19.1');
64
65 like(http_get('/'), qr/200 OK(?!.*zzz)/s, 'chunked with extra data'); 62 like(http_get('/'), qr/200 OK(?!.*zzz)/s, 'chunked with extra data');
66
67 }
68 63
69 ############################################################################### 64 ###############################################################################
70 65
71 sub http_chunked_daemon { 66 sub http_chunked_daemon {
72 my $server = IO::Socket::INET->new( 67 my $server = IO::Socket::INET->new(