Mercurial > hg > nginx-tests
comparison stream_ssl_preread.t @ 1219:f373a718f646
Tests: stream_ssl_preread.t TODO adjusted.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Mon, 11 Sep 2017 20:06:15 +0300 |
parents | cbda704b3093 |
children | 0af58b78df35 |
comparison
equal
deleted
inserted
replaced
1218:24e175025ad8 | 1219:f373a718f646 |
---|---|
160 is(get_ssl('foo', 8082), $p3, 'preread off'); | 160 is(get_ssl('foo', 8082), $p3, 'preread off'); |
161 is(get_ssl('foo', 8083), undef, 'preread buffer full'); | 161 is(get_ssl('foo', 8083), undef, 'preread buffer full'); |
162 is(stream()->io('x' x 1000), "127.0.0.1:$p3", 'not a handshake'); | 162 is(stream()->io('x' x 1000), "127.0.0.1:$p3", 'not a handshake'); |
163 | 163 |
164 TODO: { | 164 TODO: { |
165 local $TODO = 'not yet'; | 165 local $TODO = 'not yet' unless $t->has_version('1.13.6'); |
166 | 166 |
167 is(stream("127.0.0.1:$p4")->io('x' x 16), "127.0.0.1:$p3", | 167 is(stream("127.0.0.1:$p4")->io('x' x 16), "127.0.0.1:$p3", |
168 'pending buffers on next upstream'); | 168 'pending buffers on next upstream'); |
169 | 169 |
170 } | 170 } |