Mercurial > hg > nginx-tests
comparison ssl.t @ 1820:84b6bb8d74e5
Tests: speedup lingering close with request pipelining.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 03 Feb 2023 15:20:26 +0400 |
parents | b27bcded6449 |
children | a78c32419f02 |
comparison
equal
deleted
inserted
replaced
1819:dc89eb420196 | 1820:84b6bb8d74e5 |
---|---|
312 EOF | 312 EOF |
313 | 313 |
314 $req x= 1000; | 314 $req x= 1000; |
315 | 315 |
316 my $r = http($req, socket => $s) || ""; | 316 my $r = http($req, socket => $s) || ""; |
317 $s = undef; | |
317 is(() = $r =~ /(200 OK)/g, 1000, 'pipelined requests'); | 318 is(() = $r =~ /(200 OK)/g, 1000, 'pipelined requests'); |
318 | 319 |
319 # OpenSSL 3.0 error "unexpected eof while reading" seen as a critical error | 320 # OpenSSL 3.0 error "unexpected eof while reading" seen as a critical error |
320 | 321 |
321 ok(get_ssl_socket(8085), 'ssl unexpected eof'); | 322 ok(get_ssl_socket(8085), 'ssl unexpected eof'); |