From f3cd2a2b5fe301b2406d45fbb7cd984b73603290 Mon Sep 17 00:00:00 2001 From: Jun Ouyang Date: Sun, 29 Sep 2024 18:08:33 +0800 Subject: [PATCH] fix code --- .../patches/ngx_lua-0.10.26_01-ssl-disable-h2-alpn.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/openresty/patches/ngx_lua-0.10.26_01-ssl-disable-h2-alpn.patch b/build/openresty/patches/ngx_lua-0.10.26_01-ssl-disable-h2-alpn.patch index d48b2112e6c2..a5e7cf0a655c 100644 --- a/build/openresty/patches/ngx_lua-0.10.26_01-ssl-disable-h2-alpn.patch +++ b/build/openresty/patches/ngx_lua-0.10.26_01-ssl-disable-h2-alpn.patch @@ -18,7 +18,7 @@ index 1c92d9f..232a279 100644 h2scf = ngx_http_get_module_srv_conf(hc->conf_ctx, ngx_http_v2_module); - +#if (NGX_HTTP_LUA_KONG) -+ if(ngx_lua_kong_ssl_enable_http2_alpn(c->ssl, h2scf->enable || hc->addr_conf->http2)) { ++ if(ngx_http_lua_kong_ssl_get_http2_alpn_enabled(c->ssl, h2scf->enable || hc->addr_conf->http2)) { +#else if (h2scf->enable || hc->addr_conf->http2) { +#endif