comparison src/http/ngx_http_upstream.h @ 483:621229427cba release-0.1.16

nginx-0.1.16-RELEASE import *) 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; the bug had appeared in 0.1.14.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 25 Jan 2005 12:27:35 +0000
parents c52408583801
children 31ff3e943e16
comparison
equal deleted inserted replaced
482:49f5aef41157 483:621229427cba
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