comparison spdy.t @ 429:89f7a882d692

Tests: spdy.t TODO updated. The problem with cache resulting in premature client connection close was fixed in nginx 1.7.3.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 07 Jul 2014 21:58:59 +0400
parents e95c3340d94a
children cc4697d6bd16
comparison
equal deleted inserted replaced
428:e95c3340d94a 429:89f7a882d692
253 253
254 # ensure that HEAD-like requests, i.e., without response body, do not lead to 254 # ensure that HEAD-like requests, i.e., without response body, do not lead to
255 # client connection close due to cache filling up with upstream response body 255 # client connection close due to cache filling up with upstream response body
256 256
257 TODO: { 257 TODO: {
258 local $TODO = 'premature client connection close'; 258 local $TODO = 'premature client connection close'
259 unless $t->has_version('1.7.3');
259 260
260 $sid2 = spdy_stream($sess, { path => '/' }); 261 $sid2 = spdy_stream($sess, { path => '/' });
261 $frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]); 262 $frames = spdy_read($sess, all => [{ sid => $sid1, fin => 1 }]);
262 ok(grep ({ $_->{type} eq "SYN_REPLY" } @$frames), 'proxy cache headers only'); 263 ok(grep ({ $_->{type} eq "SYN_REPLY" } @$frames), 'proxy cache headers only');
263 264