Mercurial > hg > nginx
comparison src/http/modules/ngx_http_proxy_module.c @ 627:387450de0b4d release-0.3.35
nginx-0.3.35-RELEASE import
*) Bugfix: the accept-filter and the TCP_DEFER_ACCEPT option were set
for first "listen" directive only; the bug had appeared in 0.3.31.
*) Bugfix: in the "proxy_pass" directive without the URI part in a
subrequest.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 28 Mar 2006 12:24:47 +0000 |
parents | 0216fd1471f3 |
children | 65bf042c0b4f |
comparison
equal
deleted
inserted
replaced
626:517493c33072 | 627:387450de0b4d |
---|---|
485 | 485 |
486 len += method.len + u->conf->uri.len; | 486 len += method.len + u->conf->uri.len; |
487 | 487 |
488 escape = 0; | 488 escape = 0; |
489 | 489 |
490 loc_len = r->valid_location ? u->conf->location.len : 0; | 490 loc_len = (r->valid_location && u->conf->uri.len) ? u->conf->location.len: |
491 0; | |
491 | 492 |
492 if (u->conf->uri.len == 0 && r->valid_unparsed_uri && r == r->main) { | 493 if (u->conf->uri.len == 0 && r->valid_unparsed_uri && r == r->main) { |
493 unparsed_uri = 1; | 494 unparsed_uri = 1; |
494 len += r->unparsed_uri.len; | 495 len += r->unparsed_uri.len; |
495 | 496 |