Mercurial > hg > nginx-tests
comparison fastcgi_keepalive.t @ 258:9f0ed4d54ae3
Tests: remove/adjust TODOs.
FastCGI keepalive fixes were committed in 1.3.12, and regression with
client_body_in_file_only was fixed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 01 Feb 2013 21:27:42 +0400 |
parents | df984d23f9d1 |
children | 957fe2a76aa7 |
comparison
equal
deleted
inserted
replaced
257:2cb970dda24b | 258:9f0ed4d54ae3 |
---|---|
67 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); | 67 like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); |
68 like(http_get('/redir'), qr/302/, 'fastcgi redirect'); | 68 like(http_get('/redir'), qr/302/, 'fastcgi redirect'); |
69 like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request'); | 69 like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request'); |
70 | 70 |
71 TODO: { | 71 TODO: { |
72 local $TODO = 'not yet'; | 72 local $TODO = 'not yet' unless $t->has_version('1.3.12'); |
73 | 73 |
74 like(http_get('/single'), qr/^connection: 1$/m, 'single connection used'); | 74 like(http_get('/single'), qr/^connection: 1$/m, 'single connection used'); |
75 | 75 |
76 } | 76 } |
77 | 77 |
80 # body). | 80 # body). |
81 | 81 |
82 unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD'); | 82 unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD'); |
83 | 83 |
84 TODO: { | 84 TODO: { |
85 local $TODO = 'not yet'; | 85 local $TODO = 'not yet' unless $t->has_version('1.3.12'); |
86 | 86 |
87 like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD'); | 87 like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD'); |
88 | 88 |
89 } | 89 } |
90 | 90 |