comparison src/http/modules/ngx_http_limit_req_module.c @ 2973:70c8b2d28d1d

style fix
author Igor Sysoev <igor@sysoev.ru>
date Thu, 09 Jul 2009 14:03:12 +0000
parents c5ad288f851d
children b87542338ac3
comparison
equal deleted inserted replaced
2972:c5ad288f851d 2973:70c8b2d28d1d
179 } else { 179 } else {
180 excess = 0; 180 excess = 0;
181 } 181 }
182 182
183 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 183 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
184 "limit_req: %i %ui.%03ui", rc, excess / 1000, excess % 1000); 184 "limit_req: %i %ui.%03ui", rc, excess / 1000, excess % 1000);
185 185
186 if (rc == NGX_BUSY) { 186 if (rc == NGX_BUSY) {
187 ngx_shmtx_unlock(&ctx->shpool->mutex); 187 ngx_shmtx_unlock(&ctx->shpool->mutex);
188 188
189 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 189 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
264 ngx_http_limit_req_delay(ngx_http_request_t *r) 264 ngx_http_limit_req_delay(ngx_http_request_t *r)
265 { 265 {
266 ngx_event_t *wev; 266 ngx_event_t *wev;
267 267
268 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 268 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
269 "limit_req delay"); 269 "limit_req delay");
270 270
271 wev = r->connection->write; 271 wev = r->connection->write;
272 272
273 if (!wev->timedout) { 273 if (!wev->timedout) {
274 274