Mercurial > hg > nginx-tests
comparison h2_ssl_verify_client.t @ 1407:8c764fd93b5e
Tests: adjusted client connect timeout in various tests with SSL.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 30 Nov 2018 12:55:31 +0300 |
parents | 0af58b78df35 |
children | 4e48bf51714f |
comparison
equal
deleted
inserted
replaced
1406:6404fd77f367 | 1407:8c764fd93b5e |
---|---|
112 my $s; | 112 my $s; |
113 | 113 |
114 eval { | 114 eval { |
115 local $SIG{ALRM} = sub { die "timeout\n" }; | 115 local $SIG{ALRM} = sub { die "timeout\n" }; |
116 local $SIG{PIPE} = sub { die "sigpipe\n" }; | 116 local $SIG{PIPE} = sub { die "sigpipe\n" }; |
117 alarm(2); | 117 alarm(5); |
118 $s = IO::Socket::SSL->new( | 118 $s = IO::Socket::SSL->new( |
119 Proto => 'tcp', | 119 Proto => 'tcp', |
120 PeerAddr => '127.0.0.1', | 120 PeerAddr => '127.0.0.1', |
121 PeerPort => port(8080), | 121 PeerPort => port(8080), |
122 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), | 122 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), |