comparison src/http/ngx_http_request.c @ 1524:81fa2dadc124 stable-0.5

r1465 merge: style fix
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Sep 2007 19:18:22 +0000
parents 8f988b68097d
children 85e12fc61211
comparison
equal deleted inserted replaced
1523:b7d39d0b0025 1524:81fa2dadc124
1293 "client sent POST method without \"Content-Length\" header"); 1293 "client sent POST method without \"Content-Length\" header");
1294 ngx_http_finalize_request(r, NGX_HTTP_LENGTH_REQUIRED); 1294 ngx_http_finalize_request(r, NGX_HTTP_LENGTH_REQUIRED);
1295 return NGX_ERROR; 1295 return NGX_ERROR;
1296 } 1296 }
1297 1297
1298 if (r->method & (NGX_HTTP_TRACE)) { 1298 if (r->method & NGX_HTTP_TRACE) {
1299 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, 1299 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0,
1300 "client sent TRACE method"); 1300 "client sent TRACE method");
1301 ngx_http_finalize_request(r, NGX_HTTP_NOT_ALLOWED); 1301 ngx_http_finalize_request(r, NGX_HTTP_NOT_ALLOWED);
1302 return NGX_ERROR; 1302 return NGX_ERROR;
1303 } 1303 }