aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_limit_req_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_limit_req_module.c')
-rw-r--r--src/http/modules/ngx_http_limit_req_module.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/modules/ngx_http_limit_req_module.c b/src/http/modules/ngx_http_limit_req_module.c
index 36787b090..b3934076e 100644
--- a/src/http/modules/ngx_http_limit_req_module.c
+++ b/src/http/modules/ngx_http_limit_req_module.c
@@ -224,11 +224,6 @@ ngx_http_limit_req_handler(ngx_http_request_t *r)
node = ngx_slab_alloc_locked(ctx->shpool, n);
if (node == NULL) {
ngx_shmtx_unlock(&ctx->shpool->mutex);
-
- ngx_log_error(NGX_LOG_CRIT, r->connection->log, 0,
- "could not allocate memory in zone \"%V\"",
- &lrcf->shm_zone->name);
-
return NGX_HTTP_SERVICE_UNAVAILABLE;
}
}