comparison src/http/ngx_http_core_module.c @ 1586:ad18d4814a86

fix typo
author Igor Sysoev <igor@sysoev.ru>
date Thu, 18 Oct 2007 15:53:38 +0000
parents 4435ca2e467d
children 135202406b0c
comparison
equal deleted inserted replaced
1585:4435ca2e467d 1586:ad18d4814a86
686 && !r->discard_body 686 && !r->discard_body
687 && clcf->client_max_body_size 687 && clcf->client_max_body_size
688 && clcf->client_max_body_size < r->headers_in.content_length_n) 688 && clcf->client_max_body_size < r->headers_in.content_length_n)
689 { 689 {
690 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 690 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
691 "client intented to send too large body: %O bytes", 691 "client intended to send too large body: %O bytes",
692 r->headers_in.content_length_n); 692 r->headers_in.content_length_n);
693 693
694 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE); 694 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE);
695 return NGX_OK; 695 return NGX_OK;
696 } 696 }