changeset 4:37c6f2e0f278

Allow ranges and use new late_ranges functionality.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 21 Jul 2008 05:18:15 +0400
parents 4d9427b61191
children fc206607251c
files ngx_http_compose_filter_module.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ngx_http_compose_filter_module.c	Mon Jul 21 05:16:44 2008 +0400
+++ b/ngx_http_compose_filter_module.c	Mon Jul 21 05:18:15 2008 +0400
@@ -211,6 +211,9 @@
 
     ngx_http_set_ctx(r, ctx, ngx_http_compose_filter_module);
 
+    r->allow_ranges = 1;
+    r->late_ranges = 1;
+
     return ngx_http_next_header_filter(r);
 }