Tags: Simlan/lua-nginx-module
Tags
bugfix: ngx.semaphore: when nginx workers exit, the harmless error me… …ssage "semaphore gc wait queue is not empty" might be logged. Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
feature: balancer_by_lua*: now the user Lua code can terminate the cu… …rrent request with arbitrary HTTP response status codes via ngx.exit(). Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
doc: fixed some typos detected by misspell. Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
feature: ngx.sleep(0) now always yield the control to the nginx event… … loop. This can be used to do voluntary CPU time slicing when running CPU intensive computations on the Lua land and to avoid such computations from blocking the nginx event loop for too long. This feature requires OpenResty's delayed-posted-event patch for the nginx core. Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
feature: implemented the ngx.timer.every() API function for creating … …recurring timers. Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
change: renamed the C API function ngx_http_lua_ffi_errlog_get_logs t… …o ngx_http_lua_ffi_errlog_get_msg.
change: renamed lua_intercept_error_log directive to lua_capture_erro… …r_log.
PreviousNext