Klaus Demo nginx / 09c6ff3
Merge of r4757: debugging messages in limit_conn. Fixed debugging messages to account that limit_zone was renamed to limit_conn. Maxim Dounin 9 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
237237 }
238238
239239 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
240 "limit zone: %08XD %d", node->key, lc->conn);
240 "limit conn: %08XD %d", node->key, lc->conn);
241241
242242 ngx_shmtx_unlock(&shpool->mutex);
243243
357357 ngx_shmtx_lock(&shpool->mutex);
358358
359359 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, lccln->shm_zone->shm.log, 0,
360 "limit zone cleanup: %08XD %d", node->key, lc->conn);
360 "limit conn cleanup: %08XD %d", node->key, lc->conn);
361361
362362 lc->conn--;
363363