{
u_char *p;
off_t start, len;
+ size_t root;
ngx_fd_t fd;
ngx_int_t rc;
ngx_uint_t level, i;
return rc;
}
- if (ngx_http_map_uri_to_path(r, &path, 0) == NULL) {
+ if (ngx_http_map_uri_to_path(r, &path, &root, 0) == NULL) {
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
CODE:
dXSTARG;
+ size_t root;
ngx_http_request_t *r;
ngx_http_perl_ctx_t *ctx;
goto done;
}
- if (ngx_http_map_uri_to_path(r, &ctx->filename, 0) == NULL) {
+ if (ngx_http_map_uri_to_path(r, &ctx->filename, &root, 0) == NULL) {
XSRETURN_UNDEF;
}