Using Content-MD5 header

Valery Kholodkov valery+nginxen at grid.net.ru
Thu Jul 24 14:41:23 MSD 2008


Manlio Perillo wrote:

> Each HTTP request is handled via successive phases.
>  From src/ngx_http_core_module.h:
>
> typedef enum {
>      NGX_HTTP_POST_READ_PHASE = 0,
>
>      NGX_HTTP_SERVER_REWRITE_PHASE,
>
>      NGX_HTTP_FIND_CONFIG_PHASE,
>      NGX_HTTP_REWRITE_PHASE,
>      NGX_HTTP_POST_REWRITE_PHASE,
>
>      NGX_HTTP_PREACCESS_PHASE,
>
>      NGX_HTTP_ACCESS_PHASE,
>      NGX_HTTP_POST_ACCESS_PHASE,
>
>      NGX_HTTP_CONTENT_PHASE,
>
>      NGX_HTTP_LOG_PHASE
> } ngx_http_phases;

I have certainly read this code and I can generally guess what it is
supposed to mean. But to write production code I would like to know what
is being performed at each of the phases and what the handler at each
phase can do with the request.

-- 
Best regards,
Valery Kholodkov






More information about the nginx mailing list