Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_request.c @ 272:29a6403156b0 NGINX_0_5_6
nginx 0.5.6
*) Change: now the ngx_http_index_module ignores all methods except the
GET, HEAD, and POST methods.
*) Feature: the ngx_http_limit_zone_module.
*) Feature: the $binary_remote_addr variable.
*) Feature: the "ssl_session_cache" directives of the
ngx_http_ssl_module and ngx_imap_ssl_module.
*) Feature: the DELETE method supports recursive removal.
*) Bugfix: the byte-ranges were transferred incorrectly if the
$r->sendfile() was used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 09 Jan 2007 00:00:00 +0300 |
parents | 6eb1e38f0f1f |
children | c5c2b2883984 |
comparison
equal
deleted
inserted
replaced
271:fcbee7dacf2b | 272:29a6403156b0 |
---|---|
974 ngx_log_error(NGX_LOG_INFO, c->log, 0, | 974 ngx_log_error(NGX_LOG_INFO, c->log, 0, |
975 "client closed prematurely connection"); | 975 "client closed prematurely connection"); |
976 } | 976 } |
977 | 977 |
978 if (n == 0 || n == NGX_ERROR) { | 978 if (n == 0 || n == NGX_ERROR) { |
979 c->error = rev->error; | 979 c->error = 1; |
980 c->log->action = "sending response to client"; | 980 c->log->action = "reading client request headers"; |
981 | 981 |
982 ngx_http_finalize_request(r, NGX_HTTP_CLIENT_CLOSED_REQUEST); | 982 ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST); |
983 return NGX_ERROR; | 983 return NGX_ERROR; |
984 } | 984 } |
985 | 985 |
986 r->header_in->last += n; | 986 r->header_in->last += n; |
987 | 987 |