diff src/http/ngx_http_upstream.h @ 515:417a087c9c4d release-0.1.32

nginx-0.1.32-RELEASE import *) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; the bug had appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 May 2005 13:25:22 +0000
parents 9b8c906f6e63
children 7fa11e5c6e96
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -87,6 +87,7 @@ typedef struct {
     ngx_uint_t                      offset;
     ngx_http_header_handler_pt      copy_handler;
     ngx_uint_t                      conf;
+    ngx_uint_t                      redirect;  /* unsigned   redirect:1; */
 } ngx_http_upstream_header_t;
 
 
@@ -101,6 +102,7 @@ typedef struct {
     ngx_table_elt_t                *expires;
     ngx_table_elt_t                *etag;
     ngx_table_elt_t                *x_accel_expires;
+    ngx_table_elt_t                *x_accel_redirect;
 
     ngx_table_elt_t                *content_type;
     ngx_table_elt_t                *content_length;