aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-07-11 23:20:08 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-07-11 23:20:08 +0300
commit60e7480533480b6340cae596118aa0ac72c0fce9 (patch)
treebadde98c15cbbd7f6455f9edd513e21ef866b1d2 /src
parent1e673c72dd9d0e88ec5918622e9656fe46b02403 (diff)
downloadnginx-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.c5
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;
}