comparison src/http/ngx_http_request.c @ 148:5afee0074707

nginx-0.0.1-2003-10-17-00:19:16 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 16 Oct 2003 20:19:16 +0000
parents ef8c87afcfc5
children 86404ba5c517
comparison
equal deleted inserted replaced
147:be71fca7f9d7 148:5afee0074707
763 763
764 void ngx_http_finalize_request(ngx_http_request_t *r, int rc) 764 void ngx_http_finalize_request(ngx_http_request_t *r, int rc)
765 { 765 {
766 ngx_log_debug(r->connection->log, "finalize http request"); 766 ngx_log_debug(r->connection->log, "finalize http request");
767 767
768 if (r->main || r->closed) { 768 if (rc == NGX_DONE || r->main || r->closed) {
769 return; 769 return;
770 } 770 }
771 771
772 if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { 772 if (rc >= NGX_HTTP_SPECIAL_RESPONSE) {
773 773