mirror of
https://github.com/nginx/nginx.git
synced 2024-12-18 21:23:36 -06:00
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.
This commit is contained in:
parent
1e673c72dd
commit
60e7480533
@ -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,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"perl handler done: %i", rc);
|
"perl handler done: %i", rc);
|
||||||
|
|
||||||
if (rc == NGX_DONE) {
|
|
||||||
ngx_http_finalize_request(r, rc);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rc > 600) {
|
if (rc > 600) {
|
||||||
rc = NGX_OK;
|
rc = NGX_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user