File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repeat_each(2);
11
11
# log_level('warn');
12
12
# worker_connections(1024);
13
13
14
- plan tests => repeat_each() * (blocks() * 3 + 2 );
14
+ plan tests => repeat_each() * (blocks() * 3 + 4 );
15
15
16
16
$ENV {TEST_NGINX_MEMCACHED_PORT } ||= 11211;
17
17
$ENV {TEST_NGINX_MYSQL_PORT } ||= 3306;
@@ -765,6 +765,7 @@ GET /t
765
765
766
766
767
767
=== TEST 27: accepts NGX_ERROR
768
+ --- no_http2
768
769
--- config
769
770
location = /t {
770
771
content_by_lua_block {
@@ -778,11 +779,11 @@ GET /t
778
779
--- no_error_log
779
780
[error]
780
781
--- curl_error
781
- -qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
782
-
782
+ curl: (95) HTTP/3 stream 0 reset by server
783
783
784
784
785
785
=== TEST 28: accepts NGX_DECLINED
786
+ --- no_http2
786
787
--- config
787
788
location = /t {
788
789
content_by_lua_block {
@@ -796,8 +797,7 @@ GET /t
796
797
--- no_error_log
797
798
[error]
798
799
--- curl_error
799
- -qr/curl: \(95\) HTTP/3 stream 0 reset by server|curl: \(92\) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR \(err 2\)/
800
-
800
+ curl: (95) HTTP/3 stream 0 reset by server
801
801
802
802
803
803
=== TEST 29: refuses NGX_AGAIN
You can’t perform that action at this time.
0 commit comments