changeset 811:35454083769f

$r->allow_ranges
author Igor Sysoev <igor@sysoev.ru>
date Wed, 25 Oct 2006 13:56:32 +0000
parents e3aa8f305d21
children 3298810a0198
files src/http/modules/perl/nginx.xs
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -719,6 +719,19 @@ internal_redirect(r, uri)
 
 
 void
+allow_ranges(r)
+    CODE:
+
+    ngx_http_request_t  *r;
+
+    ngx_http_perl_set_request(r);
+
+    r->allow_ranges = 1;
+
+    XSRETURN_EMPTY;
+
+
+void
 unescape(r, text, type = 0)
     CODE: