comparison src/http/modules/perl/ngx_http_perl_module.c @ 7523:919a5c6c828c

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 11 Jul 2019 23:20:08 +0300
parents 903fb1ddc07f
children deebe988cbd7
comparison
equal deleted inserted replaced
7522:97ce2512373d 7523:919a5c6c828c
226 } 226 }
227 227
228 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 228 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
229 "perl handler done: %i", rc); 229 "perl handler done: %i", rc);
230 230
231 if (rc == NGX_DONE) {
232 ngx_http_finalize_request(r, rc);
233 return;
234 }
235
236 if (rc > 600) { 231 if (rc > 600) {
237 rc = NGX_OK; 232 rc = NGX_OK;
238 } 233 }
239 234
240 if (ctx->redirect_uri.len) { 235 if (ctx->redirect_uri.len) {