[dev] http phase handler

Manlio Perillo manlio_perillo at libero.it
Wed Dec 5 20:32:23 MSK 2007


Hi.

I'm interested in how HTTP phases handlers works in nginx.

I would like to add support, in mod_wsgi, to NGX_HTTP_PREACCESS_PHASE, 
NGX_HTTP_ACCESS_PHASE and NGX_HTTP_CONTENT_PHASE.

I'm reading the sources but I'm not sure to understand how a phase 
handler terminates.

With a request handler, the handler can return NGX_DONE and then call 
ngx_http_finalize_request, but what about a phase handler?



Thanks  Manlio Perillo





More information about the nginx mailing list