Mercurial > hg > nginx-tests
diff h2_proxy_request_buffering.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 | ea593a9bab09 |
children | 787d904bdfe0 |
line wrap: on
line diff
--- a/h2_proxy_request_buffering.t Wed Dec 19 12:51:18 2018 +0300 +++ b/h2_proxy_request_buffering.t Mon Dec 24 14:24:51 2018 +0300 @@ -265,7 +265,7 @@ my ($s, $timo) = @_; my $buf = ''; - if (IO::Select->new($s)->can_read($timo || 5)) { + if (IO::Select->new($s)->can_read($timo || 8)) { $s->sysread($buf, 16384) or return; log2i($buf); }