Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.c @ 1723:9b047c9e96c1 stable-0.5
r1587, r1588, r1589, r1590, r1592, r1599, r1629, r1636, r1674, r1681,
r1682, r1683 merge:
typo and style fixes
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Dec 2007 20:49:45 +0000 |
parents | 3b7262e720c1 |
children | 0a174d921f1e |
comparison
equal
deleted
inserted
replaced
1722:3b7262e720c1 | 1723:9b047c9e96c1 |
---|---|
667 && !r->discard_body | 667 && !r->discard_body |
668 && clcf->client_max_body_size | 668 && clcf->client_max_body_size |
669 && clcf->client_max_body_size < r->headers_in.content_length_n) | 669 && clcf->client_max_body_size < r->headers_in.content_length_n) |
670 { | 670 { |
671 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 671 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
672 "client intented to send too large body: %O bytes", | 672 "client intended to send too large body: %O bytes", |
673 r->headers_in.content_length_n); | 673 r->headers_in.content_length_n); |
674 | 674 |
675 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE); | 675 ngx_http_finalize_request(r, NGX_HTTP_REQUEST_ENTITY_TOO_LARGE); |
676 return NGX_OK; | 676 return NGX_OK; |
677 } | 677 } |
1583 | 1583 |
1584 return NGX_DONE; | 1584 return NGX_DONE; |
1585 } | 1585 } |
1586 | 1586 |
1587 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 1587 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
1588 "could not find name location \"%V\"", name); | 1588 "could not find named location \"%V\"", name); |
1589 | 1589 |
1590 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); | 1590 ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR); |
1591 return NGX_DONE; | 1591 return NGX_DONE; |
1592 } | 1592 } |
1593 | 1593 |