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
237 | 237 | } |
238 | 238 | |
239 | 239 | 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); | |
241 | 241 | |
242 | 242 | ngx_shmtx_unlock(&shpool->mutex); |
243 | 243 | |
357 | 357 | ngx_shmtx_lock(&shpool->mutex); |
358 | 358 | |
359 | 359 | 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); | |
361 | 361 | |
362 | 362 | lc->conn--; |
363 | 363 |