Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 1464:3263e4b17903
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Sep 2007 09:29:08 +0000 |
parents | 0f0ce9a8eee9 |
children | e5352b711c47 |
comparison
equal
deleted
inserted
replaced
1463:1f6898bb813e | 1464:3263e4b17903 |
---|---|
1292 "client sent POST method without \"Content-Length\" header"); | 1292 "client sent POST method without \"Content-Length\" header"); |
1293 ngx_http_finalize_request(r, NGX_HTTP_LENGTH_REQUIRED); | 1293 ngx_http_finalize_request(r, NGX_HTTP_LENGTH_REQUIRED); |
1294 return NGX_ERROR; | 1294 return NGX_ERROR; |
1295 } | 1295 } |
1296 | 1296 |
1297 if (r->method & (NGX_HTTP_TRACE)) { | 1297 if (r->method & NGX_HTTP_TRACE) { |
1298 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, | 1298 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, |
1299 "client sent TRACE method"); | 1299 "client sent TRACE method"); |
1300 ngx_http_finalize_request(r, NGX_HTTP_NOT_ALLOWED); | 1300 ngx_http_finalize_request(r, NGX_HTTP_NOT_ALLOWED); |
1301 return NGX_ERROR; | 1301 return NGX_ERROR; |
1302 } | 1302 } |