comparison src/http/ngx_http_upstream.c @ 1109:1402dbb554c4

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Feb 2007 10:00:59 +0000
parents db7c468c447d
children c6c42497106c
comparison
equal deleted inserted replaced
1108:109e8c7d7cc1 1109:1402dbb554c4
431 431
432 n = recv(c->fd, buf, 1, MSG_PEEK); 432 n = recv(c->fd, buf, 1, MSG_PEEK);
433 433
434 err = ngx_socket_errno; 434 err = ngx_socket_errno;
435 435
436 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, err,
437 "http upstream recv(): %d", n);
438
436 /* 439 /*
437 * we do not need to disable the write event because 440 * we do not need to disable the write event because
438 * that event has NGX_USE_CLEAR_EVENT type 441 * that event has NGX_USE_CLEAR_EVENT type
439 */ 442 */
440 443