Mercurial > hg > ngx_http_bytes_filter_module
comparison ngx_http_bytes_filter_module.c @ 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 |
comparison
equal
deleted
inserted
replaced
12:48cdd1bfa48e | 13:b85e679606f4 |
---|---|
150 p++; | 150 p++; |
151 suffix = 1; | 151 suffix = 1; |
152 state = sw_last_byte_pos; | 152 state = sw_last_byte_pos; |
153 break; | 153 break; |
154 } | 154 } |
155 start = 0; | |
155 state = sw_first_byte_pos_n; | 156 state = sw_first_byte_pos_n; |
156 | 157 |
157 /* fall through */ | 158 /* fall through */ |
158 | 159 |
159 case sw_first_byte_pos_n: | 160 case sw_first_byte_pos_n: |