Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 256:8e39cab6abd5
nginx-0.0.2-2004-02-10-19:23:38 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Feb 2004 16:23:38 +0000 |
parents | b6793bc5034b |
children | 70e1c7d2b83d |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c Mon Feb 09 20:47:18 2004 +0000 +++ b/src/http/ngx_http_request.c Tue Feb 10 16:23:38 2004 +0000 @@ -79,10 +79,10 @@ ctx->action = "reading client request line"; c->log->data = ctx; c->log->handler = ngx_http_log_error; + c->log_error = NGX_ERROR_INFO; rev = c->read; rev->event_handler = ngx_http_init_request; - rev->log_error = NGX_ERROR_INFO; /* STUB: epoll */ c->write->event_handler = ngx_http_empty_handler; @@ -1272,10 +1272,10 @@ * so we ignore ECONNRESET here. */ - rev->log_error = NGX_ERROR_IGNORE_ECONNRESET; + c->log_error = NGX_ERROR_IGNORE_ECONNRESET; ngx_set_socket_errno(0); n = ngx_recv(c, c->buffer->last, c->buffer->end - c->buffer->last); - rev->log_error = NGX_ERROR_INFO; + c->log_error = NGX_ERROR_INFO; if (n == NGX_AGAIN) { return;