lua-resty-core icon indicating copy to clipboard operation
lua-resty-core copied to clipboard

New FFI-based API for lua-nginx-module

Results 79 lua-resty-core issues
Sort by recently updated
recently updated
newest added

We have been playing with ngx.ocsp. Ideally, we'd like to cache the CA's responses. Is there a way to find for how long the responses are valid, similar to https://github.com/indutny/ocsp/blob/master/lib/ocsp/cache.js#L81-L117?

We have a requirement to enable http2 according to server_name, How can I do it, I see that there is a PR: https://github.com/openresty/lua-resty-core/pull/147, but it is closed.

if balancer config like below, keepalive not working upstream backend { keepalive 10; # connection pool server 0.0.0.1; balancer_by_lua_block { --logic } } and must be changed order of directive...

this is my config: upstream hls_origin2_dynamic { server 0.0.0.1; # just an invalid address as a place holder balancer_by_lua_block { local b = require "ngx.balancer" --ngx.log(ngx.ERR, "wangzhao test2: ", ngx.ctx.ip_port)...

Hi All, I had build the nginx binary on rhel 7.6 ppc64le (version 1.17.1.1rc0) from openresty source code - https://github.com/openresty/openresty Please note that, I had copied and used ppc64le compiled...

Hi, I will use ngx.balancer in my production, I want to know the status of ngx.balancer stabilization. I think the function works long time, so we can mark this as...

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout This directive appeared in version 1.15.3. Sets a timeout during which an idle keepalive connection to an upstream server will stay open. any plan to support this directive in...

My OpenResty application is failing with a `ERR_EMPTY_RESPONSE`. There are no error logs in access/error at all. I'm using https://github.com/3scale/lua-resty-url and this is causing a failure. I tracked down the...

版本: lua-resty-lrucache-0.08 nginx1.9.4 ngx_lua_module-0.9.2 配置: lua_package_path "/xxx/lua-resty-lrucache-0.08/lib/?.lua;;"; location / { access_by_lua_file /xxx/http_access.lua; } http_access.lua: local worker_lrucache = require "resty.lrucache" local c_lrucache, err = worker_lrucache.new(100000) -- allow up to 100000 items...

Can I allocate the number of privileged agent processes ?