Embed the power of Lua into NGINX TCP/UDP servers. Contribute to openresty/stream-lua-nginx-module development by creating an account on GitHub.
ngx.shared.DICT.flush_expired ngx.shared.DICT.get_keys Name ngx_tcp_module - A tcp stream module for nginx. ngx_tcp_lua_module - Embed the power of Lua into Nginx Servers. Work under tcp stream mode. This module is not distributed with the Nginx source. See the installation instructions...
596 ctx = ngx_stream_get_module_ctx(s, ngx_stream_lua_module); (gdb) bt #0 ngx_stream_lua_finalize_session (s=0x7ffff7efb1f0, rc=0) at /home/kenan/Git/stream-lua-nginx-module/src/ngx_stream_lua_util.c:596 #1 0x00000000005a70a7 in ngx_stream_lua_run_posted_threads (c=0x7ffff...
init_by_lua.lua lua_module db_ml.lua http.lua http_lb.lua load_balance.lua nlog.lua test.lua test_http.lua upstream_conf.lua ngx_tcp_lua_module ngx_tcp_lua_log.c 2 changes: 2 additions & 0 deletions 2 README Show comments View file Edit file Delete file This...
Here is my nginx.conf worker_processes 1; error_log logs/error.log; events { worker_connections 1024; } http { server { listen 38000; server_name localhost; location = /t { content_by_lua_file conf/tcp_demo.lua; } } } stream { server { l...
#if (LUA_HAVE_PCRE_JIT) #if (NGX_PCRE2) pcre2_jit_stack *jit_stack; #elif (LUA_HAVE_PCRE_JIT) #else pcre_jit_stack *jit_stack; # endif #endif #endifngx_array_t *shm_zones; /* of ngx_shm_zone_t* */4 changes: 2 additions & 2 deletions 4 src/ngx_stream_lua_pcrefix....
Hi, I think https://github.com/openresty/stream-lua-nginx-module/blob/master/src/api/ngx_stream_lua_api.h is not usable currently. Since ngx_stream_lua_request_t defined in below, are not exported, including ngx_stream_lua_api.h solely m...
openresty / stream-lua-nginx-module Public Notifications Fork 198 Star 732 New issue Jump to bottom fatal error: ngx_stream.h: No such file or directory #69 Closed vela-security opened this issue Apr 12, 2017· 2 comments Closed fatal error: ngx_stream.h: No such file or ...
I have nginx-1.10.1 compiled with lua-nginx-module, stream-lua-nginx-module and lua-upstream-nginx-module and I'm trying to implement lua-resty-upstream-healthcheck functionality for tcp stream upstreams. The following code gives an erro...
edited by ghost stream{ error_log /var/log/nginx/stream_error.log debug; init_by_lua_block { ngx.log(ngx.DEBUG,"I'm here") } init_worker_by_lua_block { print("I'm here") } server { listen 123 udp; lua_code_cache off; content_by_lua_file /var/www/test/main.lua; } } ...