X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=nginx%2Fsrc%2Fhttp%2Fngx_http_request.h;h=403a4fccc464d8d952fdcab5db8c00d92dbd4aff;hb=ab3a81dcb25e009023af8ddd716ebe154b85a714;hp=7f89bc12a3bb4d5e92beb550ffaf9322e2240b31;hpb=edef48fd7f4269957bc636301b0ffc73a16f9a4a;p=nginx.git diff --git a/nginx/src/http/ngx_http_request.h b/nginx/src/http/ngx_http_request.h index 7f89bc1..403a4fc 100644 --- a/nginx/src/http/ngx_http_request.h +++ b/nginx/src/http/ngx_http_request.h @@ -10,6 +10,7 @@ #define NGX_HTTP_MAX_URI_CHANGES 10 #define NGX_HTTP_MAX_SUBREQUESTS 50 +#define NGX_HTTP_MAX_CAPTURES 9 /* must be 2^n */ #define NGX_HTTP_LC_HEADER_LEN 32 @@ -390,6 +391,12 @@ struct ngx_http_request_s { ngx_http_variable_value_t *variables; +#if (NGX_PCRE) + ngx_uint_t ncaptures; + int *captures; + u_char *captures_data; +#endif + size_t limit_rate; /* used to learn the Apache compatible response length without a header */