comparison src/http/ngx_http_upstream.h @ 527:7fa11e5c6e96 release-0.1.38

nginx-0.1.38-RELEASE import *) Feature: the "limit_rate" directive is supported in in proxy and FastCGI mode. *) Feature: the "X-Accel-Limit-Rate" response header line is supported in proxy and FastCGI mode. *) Feature: the "break" directive. *) Feature: the "log_not_found" directive. *) Bugfix: the response status code was not changed when request was redirected by the ""X-Accel-Redirect" header line. *) Bugfix: the variables set by the "set" directive could not be used in SSI. *) Bugfix: the segmentation fault may occurred if the SSI page has more than one remote subrequest. *) Bugfix: nginx treated the backend response as invalid if the status line in the header was transferred in two packets; the bug had appeared in 0.1.29. *) Feature: the "ssi_types" directive. *) Feature: the "autoindex_exact_size" directive. *) Bugfix: the ngx_http_autoindex_module did not support the long file names in UTF-8. *) Feature: the IMAP/POP3 proxy.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 Jul 2005 14:34:20 +0000
parents 417a087c9c4d
children e5d7d0334fdb
comparison
equal deleted inserted replaced
526:e31ce4d8b8e6 527:7fa11e5c6e96
46 46
47 typedef struct { 47 typedef struct {
48 ngx_msec_t connect_timeout; 48 ngx_msec_t connect_timeout;
49 ngx_msec_t send_timeout; 49 ngx_msec_t send_timeout;
50 ngx_msec_t read_timeout; 50 ngx_msec_t read_timeout;
51 ngx_msec_t timeout;
51 52
52 size_t send_lowat; 53 size_t send_lowat;
53 size_t header_buffer_size; 54 size_t header_buffer_size;
54 size_t busy_buffers_size; 55 size_t busy_buffers_size;
55 size_t max_temp_file_size; 56 size_t max_temp_file_size;
101 102
102 ngx_table_elt_t *expires; 103 ngx_table_elt_t *expires;
103 ngx_table_elt_t *etag; 104 ngx_table_elt_t *etag;
104 ngx_table_elt_t *x_accel_expires; 105 ngx_table_elt_t *x_accel_expires;
105 ngx_table_elt_t *x_accel_redirect; 106 ngx_table_elt_t *x_accel_redirect;
107 ngx_table_elt_t *x_accel_limit_rate;
106 108
107 ngx_table_elt_t *content_type; 109 ngx_table_elt_t *content_type;
108 ngx_table_elt_t *content_length; 110 ngx_table_elt_t *content_length;
109 111
110 ngx_table_elt_t *last_modified; 112 ngx_table_elt_t *last_modified;
118 ngx_array_t cache_control; 120 ngx_array_t cache_control;
119 } ngx_http_upstream_headers_in_t; 121 } ngx_http_upstream_headers_in_t;
120 122
121 123
122 struct ngx_http_upstream_s { 124 struct ngx_http_upstream_s {
123 ngx_http_request_t *request;
124
125 ngx_peer_connection_t peer; 125 ngx_peer_connection_t peer;
126 126
127 ngx_event_pipe_t pipe; 127 ngx_event_pipe_t pipe;
128 128
129 ngx_chain_t *request_bufs; 129 ngx_chain_t *request_bufs;
143 void (*abort_request)(ngx_http_request_t *r); 143 void (*abort_request)(ngx_http_request_t *r);
144 void (*finalize_request)(ngx_http_request_t *r, 144 void (*finalize_request)(ngx_http_request_t *r,
145 ngx_int_t rc); 145 ngx_int_t rc);
146 ngx_int_t (*rewrite_redirect)(ngx_http_request_t *r, 146 ngx_int_t (*rewrite_redirect)(ngx_http_request_t *r,
147 ngx_table_elt_t *h, size_t prefix); 147 ngx_table_elt_t *h, size_t prefix);
148
149 ngx_msec_t timeout;
148 150
149 ngx_uint_t method; 151 ngx_uint_t method;
150 152
151 ngx_http_log_handler_pt saved_log_handler; 153 ngx_http_log_handler_pt saved_log_handler;
152 154