Skip to content

Commit 346722f

Browse files
chore: upgrade openresty version to v1.27.11 (#11936)
1 parent 2ddfc92 commit 346722f

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.requirements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717

1818
APISIX_PACKAGE_NAME=apisix
1919

20-
APISIX_RUNTIME=1.2.1
20+
APISIX_RUNTIME=1.3.0

apisix/ssl/router/radixtree_sni.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ function _M.set(matched_ssl, sni)
258258
local reject_in_handshake =
259259
(ngx.config.subsystem == "stream") or
260260
(matched_ssl.value.client.skip_mtls_uri_regex == nil)
261-
local ok, err = ngx_ssl.verify_client(parsed_cert, depth,
261+
-- TODO: support passing `trusted_certs` (3rd arg, keep it nil for now)
262+
local ok, err = ngx_ssl.verify_client(parsed_cert, depth, nil,
262263
reject_in_handshake)
263264
if not ok then
264265
return false, err

t/node/grpc-proxy.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ routes:
169169
GET /hello
170170
--- error_code: 502
171171
--- error_log
172-
upstream: "grpcs://127.0.0.1:443"
172+
connect() failed (111: Connection refused) while connecting to upstream
173173
174174
175175
@@ -188,7 +188,7 @@ routes:
188188
GET /hello
189189
--- error_code: 502
190190
--- error_log
191-
upstream: "grpc://127.0.0.1:80"
191+
connect() failed (111: Connection refused) while connecting to upstream
192192
193193
194194

t/plugin/proxy-mirror3.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ grpcurl -import-path ./t/grpc_server_example/proto -proto helloworld.proto -plai
7373
"message": "Hello apisix"
7474
}
7575
--- error_log eval
76-
qr/Connection refused\) while connecting to upstream.*proxy_mirror_grpc/
76+
qr/Connection refused\) while connecting to upstream/

t/plugin/uri-blocker.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ location /t {
5151
GET /t
5252
--- error_code: 400
5353
--- response_body
54-
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre_compile() failed: missing ) in \".+(\""}
54+
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre2_compile() failed: missing closing parenthesis in \".+(\""}
5555

5656

5757

@@ -112,7 +112,7 @@ location /t {
112112
GET /t
113113
--- error_code: 400
114114
--- response_body
115-
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre_compile() failed: missing ) in \"^b(\""}
115+
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre2_compile() failed: missing closing parenthesis in \"^b(\""}
116116

117117

118118

0 commit comments

Comments
 (0)