Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 257:70e1c7d2b83d
nginx-0.0.2-2004-02-11-20:08:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 11 Feb 2004 17:08:49 +0000 |
parents | b6793bc5034b |
children | 30310107dbc9 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -305,7 +305,7 @@ static void ngx_http_phase_event_handler c = ev->data; r = c->data; - ngx_log_debug(ev->log, "phase event handler"); + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ev->log, 0, "phase event handler"); ngx_http_run_phases(r); @@ -612,19 +612,6 @@ int ngx_http_redirect(ngx_http_request_t } -int ngx_http_error(ngx_http_request_t *r, int error) -{ - /* STUB */ - ngx_log_debug(r->connection->log, "http error: %d" _ error); - - /* log request */ - - ngx_http_special_response_handler(r, error); - ngx_http_close_request(r, 0); - return NGX_OK; -} - - ngx_int_t ngx_http_set_exten(ngx_http_request_t *r) { ngx_int_t i; @@ -706,13 +693,15 @@ int ngx_http_delay_handler(ngx_http_requ static int on; if (on++ == 0) { - ngx_log_debug(r->connection->log, "SET http delay"); + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "http set delay"); ngx_add_timer(r->connection->write, 10000); return NGX_AGAIN; } r->connection->write->timedout = 0; - ngx_log_debug(r->connection->log, "RESET http delay"); + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "http reset delay"); return NGX_DECLINED; }