comparison src/http/ngx_http_request.h @ 34:aab2ea7c0458 NGINX_0_1_17

nginx 0.1.17 *) Change: the ngx_http_rewrite_module was rewritten from the scratch. Now it is possible to redirect, to return the error codes, to check the variables and referrers. The directives can be used inside locations. The redirect directive was canceled. *) Feature: the ngx_http_geo_module. *) Feature: the proxy_set_x_var and fastcgi_set_var directives. *) Bugfix: the location configuration with "=" modifier may be used in another location. *) Bugfix: the correct content type was set only for requests that use small caps letters in extension. *) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the location, and access was denied, and the error was redirected to a static page, then the segmentation fault occurred. *) Bugfix: if in a proxied "Location" header was a relative URL, then a host name and a slash were added to them; bug appeared in 0.1.14. *) Bugfix: the system error message was not logged on Linux.
author Igor Sysoev <http://sysoev.ru>
date Thu, 03 Feb 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children 2879cd3a40cb
comparison
equal deleted inserted replaced
33:27f09a550803 34:aab2ea7c0458
296 296
297 ngx_uint_t phase; 297 ngx_uint_t phase;
298 ngx_int_t phase_handler; 298 ngx_int_t phase_handler;
299 ngx_http_handler_pt content_handler; 299 ngx_http_handler_pt content_handler;
300 300
301 ngx_uint_t nvariables;
302 void **variables;
303
301 ngx_array_t cleanup; 304 ngx_array_t cleanup;
302 305
303 /* used to learn the Apache compatible response length without a header */ 306 /* used to learn the Apache compatible response length without a header */
304 size_t header_size; 307 size_t header_size;
305 308
311 314
312 ngx_http_connection_t *http_connection; 315 ngx_http_connection_t *http_connection;
313 316
314 unsigned http_state:4; 317 unsigned http_state:4;
315 318
316 #if 0
317 /* URI is not started with '/' - "GET http://" */
318 unsigned unusual_uri:1;
319 #endif
320 /* URI with "/." and on Win32 with "//" */ 319 /* URI with "/." and on Win32 with "//" */
321 unsigned complex_uri:1; 320 unsigned complex_uri:1;
321
322 /* URI with "%" */ 322 /* URI with "%" */
323 unsigned quoted_uri:1; 323 unsigned quoted_uri:1;
324
325 /* URI with "+" */
326 unsigned plus_in_uri:1;
327
328 unsigned uri_changed:1;
329 unsigned uri_changes:4;
330
331 unsigned low_case_exten:1;
324 unsigned header_timeout_set:1; 332 unsigned header_timeout_set:1;
325 333
326 unsigned proxy:1; 334 unsigned proxy:1;
327 unsigned bypass_cache:1; 335 unsigned bypass_cache:1;
328 unsigned no_cache:1; 336 unsigned no_cache:1;