diff options
Diffstat (limited to 'src/http/modules/ngx_http_userid_filter_module.c')
-rw-r--r-- | src/http/modules/ngx_http_userid_filter_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_userid_filter_module.c b/src/http/modules/ngx_http_userid_filter_module.c index 1add894be..221d33bf3 100644 --- a/src/http/modules/ngx_http_userid_filter_module.c +++ b/src/http/modules/ngx_http_userid_filter_module.c @@ -206,7 +206,7 @@ ngx_http_userid_filter(ngx_http_request_t *r) ngx_http_userid_ctx_t *ctx; ngx_http_userid_conf_t *conf; - if (r->main) { + if (r->main != r) { return ngx_http_next_header_filter(r); } |