Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_upstream.c @ 526:0161f3197817 NGINX_0_8_15
nginx 0.8.15
*) Security: a segmentation fault might occur in worker process while
specially crafted request handling.
Thanks to Chris Ries.
*) Bugfix: if names .domain.tld, .sub.domain.tld, and .domain-some.tld
were defined, then the name .sub.domain.tld was matched by
.domain.tld.
*) Bugfix: in transparency support in the ngx_http_image_filter_module.
*) Bugfix: in file AIO.
*) Bugfix: in X-Accel-Redirect usage; the bug had appeared in 0.8.11.
*) Bugfix: in embedded perl module; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 14 Sep 2009 00:00:00 +0400 |
parents | 80f7156c2965 |
children | 4c5d2c627a6c |
comparison
equal
deleted
inserted
replaced
525:1b64f9884263 | 526:0161f3197817 |
---|---|
361 ngx_http_upstream_t *u; | 361 ngx_http_upstream_t *u; |
362 | 362 |
363 u = r->upstream; | 363 u = r->upstream; |
364 | 364 |
365 if (u && u->cleanup) { | 365 if (u && u->cleanup) { |
366 r->main->count++; | |
366 ngx_http_upstream_cleanup(r); | 367 ngx_http_upstream_cleanup(r); |
367 *u->cleanup = NULL; | 368 *u->cleanup = NULL; |
368 } | 369 } |
369 | 370 |
370 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); | 371 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); |
1812 } | 1813 } |
1813 | 1814 |
1814 r->valid_unparsed_uri = 0; | 1815 r->valid_unparsed_uri = 0; |
1815 | 1816 |
1816 ngx_http_internal_redirect(r, uri, &args); | 1817 ngx_http_internal_redirect(r, uri, &args); |
1818 ngx_http_finalize_request(r, NGX_DONE); | |
1817 return NGX_DONE; | 1819 return NGX_DONE; |
1818 } | 1820 } |
1819 | 1821 |
1820 part = &u->headers_in.headers.part; | 1822 part = &u->headers_in.headers.part; |
1821 h = part->elts; | 1823 h = part->elts; |