changeset 13:b85e679606f4

Fix first-byte-pos parsing in non-first range.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 04 Aug 2008 03:23:06 +0400
parents 48cdd1bfa48e
children 2a8b38acb895
files ngx_http_bytes_filter_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ngx_http_bytes_filter_module.c	Sat Aug 02 15:03:13 2008 +0400
+++ b/ngx_http_bytes_filter_module.c	Mon Aug 04 03:23:06 2008 +0400
@@ -152,6 +152,7 @@
                 state = sw_last_byte_pos;
                 break;
             }
+            start = 0;
             state = sw_first_byte_pos_n;
 
             /* fall through */