comparison src/http/ngx_http_upstream.h @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents 5b73504dd4ba
children 6f21ae02fb01
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
215 215
216 ngx_table_elt_t *last_modified; 216 ngx_table_elt_t *last_modified;
217 ngx_table_elt_t *location; 217 ngx_table_elt_t *location;
218 ngx_table_elt_t *accept_ranges; 218 ngx_table_elt_t *accept_ranges;
219 ngx_table_elt_t *www_authenticate; 219 ngx_table_elt_t *www_authenticate;
220 ngx_table_elt_t *transfer_encoding;
220 221
221 #if (NGX_HTTP_GZIP) 222 #if (NGX_HTTP_GZIP)
222 ngx_table_elt_t *content_encoding; 223 ngx_table_elt_t *content_encoding;
223 #endif 224 #endif
224 225
225 off_t content_length_n; 226 off_t content_length_n;
226 227
227 ngx_array_t cache_control; 228 ngx_array_t cache_control;
229
230 unsigned connection_close:1;
231 unsigned chunked:1;
228 } ngx_http_upstream_headers_in_t; 232 } ngx_http_upstream_headers_in_t;
229 233
230 234
231 typedef struct { 235 typedef struct {
232 ngx_str_t host; 236 ngx_str_t host;
265 ngx_http_upstream_headers_in_t headers_in; 269 ngx_http_upstream_headers_in_t headers_in;
266 270
267 ngx_http_upstream_resolved_t *resolved; 271 ngx_http_upstream_resolved_t *resolved;
268 272
269 ngx_buf_t buffer; 273 ngx_buf_t buffer;
270 size_t length; 274 off_t length;
271 275
272 ngx_chain_t *out_bufs; 276 ngx_chain_t *out_bufs;
273 ngx_chain_t *busy_bufs; 277 ngx_chain_t *busy_bufs;
274 ngx_chain_t *free_bufs; 278 ngx_chain_t *free_bufs;
275 279
306 #if (NGX_HTTP_CACHE) 310 #if (NGX_HTTP_CACHE)
307 unsigned cache_status:3; 311 unsigned cache_status:3;
308 #endif 312 #endif
309 313
310 unsigned buffering:1; 314 unsigned buffering:1;
315 unsigned keepalive:1;
311 316
312 unsigned request_sent:1; 317 unsigned request_sent:1;
313 unsigned header_sent:1; 318 unsigned header_sent:1;
314 }; 319 };
315 320