mirror of
https://github.com/nginx/nginx.git
synced 2026-05-28 04:12:47 -04:00
Addition: removed redundant after_body empty check in body filter.
This commit is contained in:
parent
e23e7dd83a
commit
dd62330986
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ ngx_http_addition_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||
|
||||
rc = ngx_http_next_body_filter(r, in);
|
||||
|
||||
if (rc == NGX_ERROR || !last || conf->after_body.len == 0) {
|
||||
if (rc == NGX_ERROR || !last) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue