Mercurial > hg > nginx-tests
diff stream_ssl_preread_alpn.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 |
line wrap: on
line diff
--- a/stream_ssl_preread_alpn.t Wed Dec 19 12:51:18 2018 +0300 +++ b/stream_ssl_preread_alpn.t Mon Dec 24 14:24:51 2018 +0300 @@ -127,7 +127,7 @@ eval { local $SIG{ALRM} = sub { die "timeout\n" }; local $SIG{PIPE} = sub { die "sigpipe\n" }; - alarm(5); + alarm(8); IO::Socket::SSL->start_SSL($s->{_socket}, SSL_alpn_protocols => [ @alpn ], SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(),