Skip to content

Commit

Permalink
chore: upgrade openresty version to v1.27.11 (#11936)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek authored Feb 10, 2025
1 parent 2ddfc92 commit 346722f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

APISIX_PACKAGE_NAME=apisix

APISIX_RUNTIME=1.2.1
APISIX_RUNTIME=1.3.0
3 changes: 2 additions & 1 deletion apisix/ssl/router/radixtree_sni.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ function _M.set(matched_ssl, sni)
local reject_in_handshake =
(ngx.config.subsystem == "stream") or
(matched_ssl.value.client.skip_mtls_uri_regex == nil)
local ok, err = ngx_ssl.verify_client(parsed_cert, depth,
-- TODO: support passing `trusted_certs` (3rd arg, keep it nil for now)
local ok, err = ngx_ssl.verify_client(parsed_cert, depth, nil,
reject_in_handshake)
if not ok then
return false, err
Expand Down
4 changes: 2 additions & 2 deletions t/node/grpc-proxy.t
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ routes:
GET /hello
--- error_code: 502
--- error_log
upstream: "grpcs://127.0.0.1:443"
connect() failed (111: Connection refused) while connecting to upstream
Expand All @@ -188,7 +188,7 @@ routes:
GET /hello
--- error_code: 502
--- error_log
upstream: "grpc://127.0.0.1:80"
connect() failed (111: Connection refused) while connecting to upstream
Expand Down
2 changes: 1 addition & 1 deletion t/plugin/proxy-mirror3.t
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ grpcurl -import-path ./t/grpc_server_example/proto -proto helloworld.proto -plai
"message": "Hello apisix"
}
--- error_log eval
qr/Connection refused\) while connecting to upstream.*proxy_mirror_grpc/
qr/Connection refused\) while connecting to upstream/
4 changes: 2 additions & 2 deletions t/plugin/uri-blocker.t
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ location /t {
GET /t
--- error_code: 400
--- response_body
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre_compile() failed: missing ) in \".+(\""}
{"error_msg":"failed to check the configuration of plugin uri-blocker err: pcre2_compile() failed: missing closing parenthesis in \".+(\""}



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



Expand Down

0 comments on commit 346722f

Please sign in to comment.