Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_proxy_module.c @ 176:fae16d0c5bf4 NGINX_0_3_35
nginx 0.3.35
*) Bugfix: the accept-filter and the TCP_DEFER_ACCEPT option were set
for first "listen" directive only; bug appeared in 0.3.31.
*) Bugfix: in the "proxy_pass" directive without the URI part in a
subrequest.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 22 Mar 2006 00:00:00 +0300 |
parents | 1b490fc19afa |
children | 87699398f955 |
comparison
equal
deleted
inserted
replaced
175:8ea1b77a7700 | 176:fae16d0c5bf4 |
---|---|
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 |