]> git.kaiwu.me - nginx.git/commitdiff
Fixed debugging messages to account that limit_zone was renamed to limit_conn.
authorRuslan Ermilov <ru@nginx.com>
Fri, 20 Jul 2012 08:21:59 +0000 (08:21 +0000)
committerRuslan Ermilov <ru@nginx.com>
Fri, 20 Jul 2012 08:21:59 +0000 (08:21 +0000)
src/http/modules/ngx_http_limit_conn_module.c

index c23c046ed4d15e6d3e89a82792e219e1658b42cc..106da7a535e8ef76ccacdef187d617c22b2bf34c 100644 (file)
@@ -238,7 +238,7 @@ ngx_http_limit_conn_handler(ngx_http_request_t *r)
         }
 
         ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-                       "limit zone: %08XD %d", node->key, lc->conn);
+                       "limit conn: %08XD %d", node->key, lc->conn);
 
         ngx_shmtx_unlock(&shpool->mutex);
 
@@ -358,7 +358,7 @@ ngx_http_limit_conn_cleanup(void *data)
     ngx_shmtx_lock(&shpool->mutex);
 
     ngx_log_debug2(NGX_LOG_DEBUG_HTTP, lccln->shm_zone->shm.log, 0,
-                   "limit zone cleanup: %08XD %d", node->key, lc->conn);
+                   "limit conn cleanup: %08XD %d", node->key, lc->conn);
 
     lc->conn--;