changeset 10:06bd0e50e696

Keepalive: log saving connection.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 10 Nov 2008 16:09:44 +0300
parents cf65cec7e14b
children 15530a464dba
files ngx_http_upstream_keepalive_module.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ngx_http_upstream_keepalive_module.c	Wed Oct 29 12:58:54 2008 +0300
+++ b/ngx_http_upstream_keepalive_module.c	Mon Nov 10 16:09:44 2008 +0300
@@ -275,6 +275,9 @@
     {
         c = pc->connection;
 
+        ngx_log_debug1(NGX_LOG_DEBUG_HTTP, pc->log, 0,
+                       "free keepalive peer: saving connection %p", c);
+
         if (ngx_queue_empty(&kp->conf->free)) {
 
             q = ngx_queue_last(&kp->conf->cache);