diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2019-07-11 23:20:08 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2019-07-11 23:20:08 +0300 |
commit | 60e7480533480b6340cae596118aa0ac72c0fce9 (patch) | |
tree | badde98c15cbbd7f6455f9edd513e21ef866b1d2 /src | |
parent | 1e673c72dd9d0e88ec5918622e9656fe46b02403 (diff) | |
download | nginx-60e7480533480b6340cae596118aa0ac72c0fce9.tar.gz nginx-60e7480533480b6340cae596118aa0ac72c0fce9.zip |
Perl: removed unneeded NGX_DONE test.
The NGX_DONE test in ngx_http_perl_handle_request() was introduced
in 1702:86bb52e28ce0, which also modified ngx_http_perl_call_handler()
to return NGX_DONE with c->destroyed. The latter part was then
removed in 3050:f54b02dbb12b, so NGX_DONE test is no longer needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/perl/ngx_http_perl_module.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c index 6d3be9128..d06b43c75 100644 --- a/src/http/modules/perl/ngx_http_perl_module.c +++ b/src/http/modules/perl/ngx_http_perl_module.c @@ -228,11 +228,6 @@ ngx_http_perl_handle_request(ngx_http_request_t *r) ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "perl handler done: %i", rc); - if (rc == NGX_DONE) { - ngx_http_finalize_request(r, rc); - return; - } - if (rc > 600) { rc = NGX_OK; } |