diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-03-06 12:15:07 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-03-06 12:15:07 +0000 |
commit | 1d05de49a3ad775f640034ee6b136ca0000a1195 (patch) | |
tree | 9795f6204991bea3bb38442903b99d683ff52283 /src/http/ngx_http_request.h | |
parent | 4b97b33336e9a42092b127a5511f06d386b044b1 (diff) | |
download | nginx-1d05de49a3ad775f640034ee6b136ca0000a1195.tar.gz nginx-1d05de49a3ad775f640034ee6b136ca0000a1195.zip |
now regex captures are per-request entities
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 7f89bc12a..403a4fccc 100644 --- a/src/http/ngx_http_request.h +++ b/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 */ |