comparison src/http/ngx_http_upstream.h @ 32:da8c190bdaba NGINX_0_1_16

nginx 0.1.16 *) Bugfix: if the response were transferred by chunks, then on the HEAD request the final chunk was issued. *) Bugfix: the "Connection: keep-alive" header were issued, even if the keepalive_timeout directive forbade the keep-alive use. *) Bugfix: the errors in the ngx_http_fastcgi_module caused the segmentation faults. *) Bugfix: the compressed response encrypted by SSL may not transferred complete. *) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK options, are not used for the unix domain sockets. *) Feature: the rewrite directive supports the arguments rewriting. *) Bugfix: the response code 400 was returned for the POST request with the "Content-Length: 0" header; bug appeared in 0.1.14.
author Igor Sysoev <http://sysoev.ru>
date Tue, 25 Jan 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children a39d1b793287
comparison
equal deleted inserted replaced
31:1b17dd824438 32:da8c190bdaba
90 ngx_str_t uri; 90 ngx_str_t uri;
91 ngx_str_t *location; 91 ngx_str_t *location;
92 92
93 ngx_http_log_ctx_t *log_ctx; 93 ngx_http_log_ctx_t *log_ctx;
94 ngx_log_handler_pt log_handler; 94 ngx_log_handler_pt log_handler;
95 ngx_http_log_ctx_t *saved_ctx; 95 ngx_http_log_ctx_t *saved_log_ctx;
96 ngx_log_handler_pt saved_handler; 96 ngx_log_handler_pt saved_log_handler;
97 97
98 /* used to parse an upstream HTTP header */ 98 /* used to parse an upstream HTTP header */
99 ngx_uint_t status; 99 ngx_uint_t status;
100 u_char *status_start; 100 u_char *status_start;
101 u_char *status_end; 101 u_char *status_end;
111 unsigned header_sent:1; 111 unsigned header_sent:1;
112 }; 112 };
113 113
114 114
115 void ngx_http_upstream_init(ngx_http_request_t *r); 115 void ngx_http_upstream_init(ngx_http_request_t *r);
116 u_char *ngx_http_upstream_log_error(void *data, u_char *buf, size_t len); 116 u_char *ngx_http_upstream_log_error(ngx_log_t *log, u_char *buf, size_t len);
117 117
118 118
119 extern char *ngx_http_upstream_header_errors[]; 119 extern char *ngx_http_upstream_header_errors[];
120 120
121 121