File tree 2 files changed +29
-4
lines changed
2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 44
44
- TEST_NGINX_RANDOMIZE=1
45
45
- LUACHECK_VER=0.21.1
46
46
matrix :
47
- - NGINX_VERSION=1.19.9 OPENSSL_VER=1.1.1l OPENSSL_PATCH_VER=1.1.1f
48
47
- NGINX_VERSION=1.21.3 OPENSSL_VER=1.1.1l OPENSSL_PATCH_VER=1.1.1f
49
48
50
49
services :
@@ -64,7 +63,7 @@ install:
64
63
- git clone https://github.com/openresty/openresty.git ../openresty
65
64
- git clone https://github.com/openresty/openresty-devel-utils.git
66
65
- git clone https://github.com/simpl/ngx_devel_kit.git ../ndk-nginx-module
67
- - git clone -b 0.10.21rc1 https://github.com/xiaocang /lua-nginx-module.git ../lua-nginx-module
66
+ - git clone https://github.com/openresty /lua-nginx-module.git ../lua-nginx-module
68
67
- git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
69
68
- git clone https://github.com/openresty/echo-nginx-module.git ../echo-nginx-module
70
69
- git clone https://github.com/openresty/lua-resty-lrucache.git
@@ -73,7 +72,7 @@ install:
73
72
- git clone https://github.com/openresty/set-misc-nginx-module.git ../set-misc-nginx-module
74
73
- git clone https://github.com/openresty/mockeagain.git
75
74
- git clone https://github.com/openresty/test-nginx.git
76
- - git clone -b 0.0.11rc1 https://github.com/xiaocang /stream-lua-nginx-module.git ../stream-lua-nginx-module
75
+ - git clone https://github.com/openresty /stream-lua-nginx-module.git ../stream-lua-nginx-module
77
76
78
77
script :
79
78
- cd luajit2/
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use t::TestCore;
8
8
9
9
repeat_each(2 );
10
10
11
- plan tests => repeat_each() * (blocks() * 5 + 5 );
11
+ plan tests => repeat_each() * (blocks() * 5 + 2 );
12
12
13
13
# no_diff();
14
14
# no_long_string();
@@ -439,6 +439,8 @@ qr/\[TRACE\s+\d+ content_by_lua\(nginx\.conf:\d+\):3 loop\]/
439
439
[error]
440
440
bad argument type
441
441
stitch
442
+ -- - skip_nginx
443
+ 6 : >= 1.21 . 1
442
444
443
445
444
446
@@ -586,3 +588,27 @@ Foo: baz, 123
586
588
--- http09
587
589
--- response_body
588
590
table,table
591
+
592
+
593
+
594
+ === TEST 19: CONNECT method is considered invalid since nginx 1. 21. 1
595
+ --- config
596
+ location = /t {
597
+ access_log off;
598
+ content_by_lua_block {
599
+ local t
600
+ for i = 1 , 500 do
601
+ t = ngx. req. get_method()
602
+ end
603
+ ngx. say (" method: " , t)
604
+ ngx. req. discard_body()
605
+ }
606
+ }
607
+ -- - request
608
+ CONNECT / t
609
+ hello
610
+ -- - error_code: 405
611
+ -- - no_error_log
612
+ [error]
613
+ -- - skip_nginx
614
+ 2 : < 1.21 . 1
You can’t perform that action at this time.
0 commit comments