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
+++ b/ngx_http_bytes_filter_module.c
@@ -152,6 +152,7 @@ ngx_http_bytes_header_filter(ngx_http_re
                 state = sw_last_byte_pos;
                 break;
             }
+            start = 0;
             state = sw_first_byte_pos_n;
 
             /* fall through */