summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-25 13:56:32 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-25 13:56:32 +0000
commit2aeb32e564fcaf1d6341dd5c97618c9c531e8184 (patch)
tree25f46c6fa021777f8f6a032eef08c03948d69910
parent3e5d9454c33a01226bdf2f46230f35fc8970efff (diff)
downloadnginx-2aeb32e564fcaf1d6341dd5c97618c9c531e8184.tar.gz
nginx-2aeb32e564fcaf1d6341dd5c97618c9c531e8184.tar.bz2
$r->allow_ranges
-rw-r--r--src/http/modules/perl/nginx.xs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index f65bbf093..d337edbd8 100644
--- 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: