comparison ssi_delayed.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 e1225e304e46
children
comparison
equal deleted inserted replaced
1250:b708848eb49a 1251:766bcbb632ee
65 $t->run_daemon(\&http_daemon); 65 $t->run_daemon(\&http_daemon);
66 $t->run()->waitforsocket('127.0.0.1:' . port(8081)); 66 $t->run()->waitforsocket('127.0.0.1:' . port(8081));
67 67
68 ############################################################################### 68 ###############################################################################
69 69
70 TODO: {
71 local $TODO = 'not yet' unless $t->has_version('1.11.13');
72
73 # If a response sending is delayed by sendfile_max_chunk, and 70 # If a response sending is delayed by sendfile_max_chunk, and
74 # then we've switched to a different subrequest, which is not yet 71 # then we've switched to a different subrequest, which is not yet
75 # ready to handle corresponding write event, wev->delayed won't be 72 # ready to handle corresponding write event, wev->delayed won't be
76 # cleared. This results in the subrequest response not being 73 # cleared. This results in the subrequest response not being
77 # sent to the client, and the whole request will hang if all proxy 74 # sent to the client, and the whole request will hang if all proxy
78 # buffers will be exhausted. Fixed in 1.11.13 (903fb1ddc07f). 75 # buffers will be exhausted. Fixed in 1.11.13 (903fb1ddc07f).
79 76
80 like(http_get('/delayed.html'), qr/x{100}y{1024}SEE-THIS/, 'delayed'); 77 like(http_get('/delayed.html'), qr/x{100}y{1024}SEE-THIS/, 'delayed');
81
82 }
83 78
84 ############################################################################### 79 ###############################################################################
85 80
86 sub http_daemon { 81 sub http_daemon {
87 my ($t) = @_; 82 my ($t) = @_;