comparison src/http/ngx_http_request.h @ 456:ca8f7f6cab16 NGINX_0_7_40

nginx 0.7.40 *) Feature: the "location" directive supports captures in regular expressions. *) Feature: an "alias" directive with capture references may be used inside a location given by a regular expression with captures. *) Feature: the "server_name" directive supports captures in regular expressions. *) Workaround: the ngx_http_autoindex_module did not show the trailing slash in directories on XFS filesystem; the issue had appeared in 0.7.15. Thanks to Dmitry Kuzmenko.
author Igor Sysoev <http://sysoev.ru>
date Mon, 09 Mar 2009 00:00:00 +0300
parents a8424ffa495c
children c8cfb6c462ef
comparison
equal deleted inserted replaced
455:ead634c4b006 456:ca8f7f6cab16
8 #define _NGX_HTTP_REQUEST_H_INCLUDED_ 8 #define _NGX_HTTP_REQUEST_H_INCLUDED_
9 9
10 10
11 #define NGX_HTTP_MAX_URI_CHANGES 10 11 #define NGX_HTTP_MAX_URI_CHANGES 10
12 #define NGX_HTTP_MAX_SUBREQUESTS 50 12 #define NGX_HTTP_MAX_SUBREQUESTS 50
13 #define NGX_HTTP_MAX_CAPTURES 9
13 14
14 /* must be 2^n */ 15 /* must be 2^n */
15 #define NGX_HTTP_LC_HEADER_LEN 32 16 #define NGX_HTTP_LC_HEADER_LEN 32
16 17
17 18
387 ngx_int_t phase_handler; 388 ngx_int_t phase_handler;
388 ngx_http_handler_pt content_handler; 389 ngx_http_handler_pt content_handler;
389 ngx_uint_t access_code; 390 ngx_uint_t access_code;
390 391
391 ngx_http_variable_value_t *variables; 392 ngx_http_variable_value_t *variables;
393
394 #if (NGX_PCRE)
395 ngx_uint_t ncaptures;
396 int *captures;
397 u_char *captures_data;
398 #endif
392 399
393 size_t limit_rate; 400 size_t limit_rate;
394 401
395 /* used to learn the Apache compatible response length without a header */ 402 /* used to learn the Apache compatible response length without a header */
396 size_t header_size; 403 size_t header_size;