Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 619:7a16e281c01f release-0.3.31
nginx-0.3.31-RELEASE import
*) Change: now nginx passes the malformed proxied backend responses.
*) Feature: the "listen" directives support the address in the "*:port"
form.
*) Feature: the EVFILER_TIMER support in MacOSX 10.4.
*) Workaround: for MacOSX 64-bit kernel kqueue millisecond timeout
bug.
Thanks to Andrei Nigmatulin.
*) Bugfix: if there were several "listen" directives listening one
various addresses inside one server, then server names like
"*.domain.tld" worked for first address only; the bug had appeared
in 0.3.18.
*) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive
and the request body was in temporarily file then the request was
not transferred.
*) Bugfix: perl 5.8.8 compatibility.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 10 Mar 2006 12:51:52 +0000 |
parents | 5ef026a2ac74 |
children | 0216fd1471f3 |
comparison
equal
deleted
inserted
replaced
618:47f8a854752e | 619:7a16e281c01f |
---|---|
257 | 257 |
258 { ngx_null_string, NULL, 0, 0, 0 } | 258 { ngx_null_string, NULL, 0, 0, 0 } |
259 }; | 259 }; |
260 | 260 |
261 | 261 |
262 char *ngx_http_upstream_header_errors[] = { | |
263 "upstream sent invalid header", | |
264 "upstream sent too long header line" | |
265 }; | |
266 | |
267 | |
268 void | 262 void |
269 ngx_http_upstream_init(ngx_http_request_t *r) | 263 ngx_http_upstream_init(ngx_http_request_t *r) |
270 { | 264 { |
271 ngx_time_t *tp; | 265 ngx_time_t *tp; |
272 ngx_connection_t *c; | 266 ngx_connection_t *c; |
622 NGX_HTTP_INTERNAL_SERVER_ERROR); | 616 NGX_HTTP_INTERNAL_SERVER_ERROR); |
623 return; | 617 return; |
624 } | 618 } |
625 | 619 |
626 c->sendfile = 0; | 620 c->sendfile = 0; |
621 u->output.sendfile = 0; | |
627 | 622 |
628 peer = &u->peer.peers->peer[u->peer.cur_peer]; | 623 peer = &u->peer.peers->peer[u->peer.cur_peer]; |
629 | 624 |
630 if (ngx_ssl_set_session(c, peer->ssl_session) != NGX_OK) { | 625 if (ngx_ssl_set_session(c, peer->ssl_session) != NGX_OK) { |
631 ngx_http_upstream_finalize_request(r, u, | 626 ngx_http_upstream_finalize_request(r, u, |