ngx_http_js_module
ngx_http_js_module copied to clipboard
nginx javascript module
you have to send the HTTP_LAST_ manually for now.
now you may somehow interact with a request inumerationg its properties
setrlimit(2) for RLIMIT_AS as Brian suggests here: http://nginx.org/pipermail/nginx-devel/2010-May/000261.html
as Nginx.NGX_HTTP_EXPIRES_*
using ngx_http_set_content_type(r)
see for example: http://github.com/FRiCKLE/ngx_postgres/blob/master/config
if the request handler was simple the cleanup handler could not be bint, so we have to mark the request as inactive by setting its private pointer to NULL. And...
Something like ${js_blablabla} -> eval(blablabla)
wrap all GC-potential callbacks with local root scopes. Like this: JS_EnterLocalRootScope() JS_ValueToNumber(…) JS_LeaveLocalRootScope()