comparison src/http/modules/ngx_http_range_filter_module.c @ 424:44a61c599bb2

Merge with current.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 15 Oct 2008 15:39:40 +0400
parents 77df96611112 b246022ef454
children 8fbdd980b527
comparison
equal deleted inserted replaced
419:cdd5890b5538 424:44a61c599bb2
691 if (range->end <= start || range->start >= last) { 691 if (range->end <= start || range->start >= last) {
692 692
693 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 693 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
694 "http range body skip"); 694 "http range body skip");
695 695
696 if (buf->in_file) {
697 buf->file_pos = buf->file_last;
698 }
699
696 buf->pos = buf->last; 700 buf->pos = buf->last;
701 buf->sync = 1;
702
697 continue; 703 continue;
698 } 704 }
699 705
700 if (range->start > start) { 706 if (range->start > start) {
701 707