Mercurial > hg > nginx-tests
comparison body.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 | 0cc5269bc62c |
children | 970bb423e59f |
comparison
equal
deleted
inserted
replaced
257:2cb970dda24b | 258:9f0ed4d54ae3 |
---|---|
115 'body discard'); | 115 'body discard'); |
116 like(http_get_body('/discard', '0123456789' x 128, '0123456789' x 512, | 116 like(http_get_body('/discard', '0123456789' x 128, '0123456789' x 512, |
117 '0123456789', 'foobar'), qr/(TEST.*){4}/ms, | 117 '0123456789', 'foobar'), qr/(TEST.*){4}/ms, |
118 'body discard 2'); | 118 'body discard 2'); |
119 | 119 |
120 TODO: { | |
121 local $TODO = 'broken by 1.3.9'; | |
122 | |
123 # proxy with file only | 120 # proxy with file only |
124 | 121 |
125 like(http_get_body('/small', '0123456789') || '', | 122 like(http_get_body('/small', '0123456789'), |
126 qr/X-Body: 0123456789\x0d?$/ms, 'small body in file only'); | 123 qr/X-Body: 0123456789\x0d?$/ms, 'small body in file only'); |
127 | |
128 } | |
129 | 124 |
130 ############################################################################### | 125 ############################################################################### |
131 | 126 |
132 sub read_body_file { | 127 sub read_body_file { |
133 my ($r) = @_; | 128 my ($r) = @_; |