Mercurial > hg > nginx-tests
diff h2_proxy_max_temp_file_size.t @ 1986:11463d379570
Tests: reworked HTTP/2 tests to use "http2 on".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Jun 2024 05:08:02 +0300 |
parents | 236d038dc04a |
children |
line wrap: on
line diff
--- a/h2_proxy_max_temp_file_size.t +++ b/h2_proxy_max_temp_file_size.t @@ -38,9 +38,11 @@ http { %%TEST_GLOBALS_HTTP%% server { - listen 127.0.0.1:8080 http2; + listen 127.0.0.1:8080; server_name localhost; + http2 on; + proxy_buffer_size 4k; proxy_buffers 8 4k; @@ -66,12 +68,7 @@ http { EOF $t->write_file('1', 'X' x (1024 * 1024)); - -# suppress deprecation warning - -open OLDERR, ">&", \*STDERR; close STDERR; $t->run(); -open STDERR, ">&", \*OLDERR; ###############################################################################