diff options
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index f8811617..6ba500e7 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -1129,7 +1129,7 @@ ngx_http_js_body_filter(ngx_http_request_t *r, ngx_chain_t *in) jlcf = ngx_http_get_module_loc_conf(r, ngx_http_js_module); - if (jlcf->body_filter.len == 0) { + if (jlcf->body_filter.len == 0 || in == NULL) { return ngx_http_next_body_filter(r, in); } |