]> git.kaiwu.me - nginx.git/commitdiff
$r->allow_ranges
authorIgor Sysoev <igor@sysoev.ru>
Wed, 25 Oct 2006 13:56:32 +0000 (13:56 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 25 Oct 2006 13:56:32 +0000 (13:56 +0000)
src/http/modules/perl/nginx.xs

index f65bbf093549a47c7a7886be98646ee821dfff3f..d337edbd80c860dae6c28f46879fb3921c8fac44 100644 (file)
@@ -718,6 +718,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: