comparison ssl_client_escaped_cert.t @ 1421:4e48bf51714f

Tests: aligned various generic read timeouts to http_end(). It was observed that previous timeout values could not be enough when making mass-building, in particular, when running with modsecurity.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 24 Dec 2018 14:24:51 +0300
parents 8c764fd93b5e
children dbce8fb5f5f8
comparison
equal deleted inserted replaced
1420:ea593a9bab09 1421:4e48bf51714f
99 my $s; 99 my $s;
100 100
101 eval { 101 eval {
102 local $SIG{ALRM} = sub { die "timeout\n" }; 102 local $SIG{ALRM} = sub { die "timeout\n" };
103 local $SIG{PIPE} = sub { die "sigpipe\n" }; 103 local $SIG{PIPE} = sub { die "sigpipe\n" };
104 alarm(5); 104 alarm(8);
105 $s = IO::Socket::SSL->new( 105 $s = IO::Socket::SSL->new(
106 Proto => 'tcp', 106 Proto => 'tcp',
107 PeerAddr => '127.0.0.1', 107 PeerAddr => '127.0.0.1',
108 PeerPort => port(8443), 108 PeerPort => port(8443),
109 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(), 109 SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(),