# HG changeset patch # User Igor Sysoev # Date 1161784592 0 # Node ID 35454083769f38cafd8076b8fe0753631d347a95 # Parent e3aa8f305d21c19beaa4d2988f1117fa3b8039df $r->allow_ranges diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs --- 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: