feature: now we save the original pattern string pointer value into our ngx_http_lua_regex_t struct, to help runtime regex profiling and debugging.
change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
change: access_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point (otherwise nginx might crash when other modules try to generate their own response). thanks yaronli and Sophos for the report in #364.
change: rewrite_by_lua* will now terminate the current request if the response header has already been sent (via calls like ngx.say and ngx.send_headers) at that point.
minor doc love.
fixed a source line exceeding 80 cols.
doc: added more explanation for some user FAQs.
updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*.
feature: added pure C API function ngx_http_lua_ffi_req_start_time for FFI-based implementations of ngx.req.start_time().
fixed the wrong return type of the ngx_http_lua_ffi_req_start_time function in the previous commit.
feature: added pure C API function ngx_http_lua_ffi_time for FFI-based implementations of ngx.time().
renamed ngx_http_lua_ffi_ngx_now to ngx_http_lua_ffi_now.
optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time().
the "int" return type of ngx_http_lua_ffi_time might lead to data loss. thanks itpp16 for the report.
Revert "optimize: use lua_pushinteger instead of lua_pushnumber in ngx_http_lua_ngx_time()."

The lua_Integer type might lead to data loss.

This reverts commit e9b8563c32d4ef0510c5a6012defba15aaf9c9b5.
feature: added pure C API functions for FFI-based implementations of ngx.req.get_method().
feature: added pure C API function for FFI-based implementations of ngx.req.set_method().
feature: added a pure C API function for FFI implementations of shdict:flush_all().
feature: added a pure C API function for FFI-based implementations of ngx.req.set_header() (single-value only) and ngx.req.clear_header().
bugfix: ngx.req.set_method(): we incorrectly modified r->method when the method ID was wrong.