The reason of ignoring subrequest in access phase hander.

洪志道 hongzhidao at gmail.com
Sun Dec 23 19:38:00 UTC 2018


Hi.

I'm wondering the reason of ignoring subrequests in access phase hander.
Can anyone explain it to me?

1069 ngx_int_t
1070 ngx_http_core_access_phase(ngx_http_request_t *r,
ngx_http_phase_handler_t *ph)
1071 {
1072     ngx_int_t                  rc;
1073     ngx_http_core_loc_conf_t  *clcf;
1074
1075     if (r != r->main) {
1076         r->phase_handler = ph->next;
1077         return NGX_AGAIN;
1078     }
1079

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20181224/29f5591e/attachment.html>


More information about the nginx-devel mailing list