comparison src/http/modules/ngx_http_range_filter_module.c @ 412:b246022ef454 NGINX_0_7_18

nginx 0.7.18 *) Change: the "underscores_in_headers" directive; now nginx does not allows underscores in a client request header line names. *) Feature: the ngx_http_secure_link_module. *) Feature: the "real_ip_header" directive supports any header. *) Feature: the "log_subrequest" directive. *) Feature: the $realpath_root variable. *) Feature: the "http_502" and "http_504" parameters of the "proxy_next_upstream" directive. *) Bugfix: the "http_503" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives did not work. *) Bugfix: nginx might send a "Transfer-Encoding: chunked" heaer line for HEAD requests. *) Bugfix: now accept threshold depends on worker_connections.
author Igor Sysoev <http://sysoev.ru>
date Mon, 13 Oct 2008 00:00:00 +0400
parents 0b6053502c55
children a8424ffa495c
comparison
equal deleted inserted replaced
411:b453a4324c60 412:b246022ef454
652 if (range->end <= start || range->start >= last) { 652 if (range->end <= start || range->start >= last) {
653 653
654 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 654 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
655 "http range body skip"); 655 "http range body skip");
656 656
657 if (buf->in_file) {
658 buf->file_pos = buf->file_last;
659 }
660
657 buf->pos = buf->last; 661 buf->pos = buf->last;
662 buf->sync = 1;
663
658 continue; 664 continue;
659 } 665 }
660 666
661 if (range->start > start) { 667 if (range->start > start) {
662 668