comparison h2_ssl.t @ 1998:6b3b31149551

Tests: removed remnants of "listen ... http2" usage. The only remaining test which uses "listen ... http2" is h2_http2.t now, which is specifically to test that this form still works.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 09 Aug 2024 05:21:04 +0300
parents 6d3a8f4eb9b2
children
comparison
equal deleted inserted replaced
1997:d2d00eea7b3d 1998:6b3b31149551
39 39
40 http { 40 http {
41 %%TEST_GLOBALS_HTTP%% 41 %%TEST_GLOBALS_HTTP%%
42 42
43 server { 43 server {
44 listen 127.0.0.1:8080 http2 ssl; 44 listen 127.0.0.1:8080 ssl;
45 server_name localhost; 45 server_name localhost;
46
47 http2 on;
46 48
47 ssl_certificate_key localhost.key; 49 ssl_certificate_key localhost.key;
48 ssl_certificate localhost.crt; 50 ssl_certificate localhost.crt;
49 51
50 lingering_close off; 52 lingering_close off;
75 77
76 $t->write_file('index.html', ''); 78 $t->write_file('index.html', '');
77 $t->write_file('tbig.html', 79 $t->write_file('tbig.html',
78 join('', map { sprintf "XX%06dXX", $_ } (1 .. 500000))); 80 join('', map { sprintf "XX%06dXX", $_ } (1 .. 500000)));
79 81
80 open OLDERR, ">&", \*STDERR; close STDERR;
81 $t->run(); 82 $t->run();
82 open STDERR, ">&", \*OLDERR;
83 83
84 plan(skip_all => 'no ALPN negotiation') unless defined getconn(); 84 plan(skip_all => 'no ALPN negotiation') unless defined getconn();
85 $t->plan(4); 85 $t->plan(4);
86 86
87 ############################################################################### 87 ###############################################################################