Skip to content

Commit d3019ef

Browse files
committed
Tests: skip preread tests in stream_pass.t on win32.
The lack of socket peek prevents passing connections unmodified.
1 parent 9b3470e commit d3019ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stream_pass.t

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,15 @@ $t->try_run('no pass module')->plan(5);
107107

108108
# passing either to HTTP or HTTPS backend, depending on server_name
109109

110+
TODO: {
111+
todo_skip 'win32', 2 if $^O eq 'MSWin32';
112+
110113
like(http_get('/'), qr/200 OK/, 'pass');
111114
like(http_get('/', SSL => 1, SSL_hostname => 'sni',
112115
PeerAddr => '127.0.0.1:' . port(8080)), qr/200 OK/, 'pass ssl');
113116

117+
}
118+
114119
like(http_get('/', SSL => 1, SSL_hostname => 'sni'), qr/200 OK/,
115120
'pass ssl handshaked');
116121

0 commit comments

Comments
 (0)