Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_upstream.c @ 562:7fa8dc2315bd NGINX_0_8_33
nginx 0.8.33
*) Security: now nginx/Windows ignores trailing spaces in URI.
Thanks to Dan Crowley, Core Security Technologies.
*) Security: now nginx/Windows ignores short files names.
Thanks to Dan Crowley, Core Security Technologies.
*) Change: now keepalive connections after POST requests are not
disabled for MSIE 7.0+. Thanks to Adam Lounds.
*) Workaround: now keepalive connections are disabled for Safari.
Thanks to Joshua Sierles.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then $upstream_response_time
variable may have abnormally large value; the bug had appeared in
0.8.7.
*) Bugfix: a segmentation fault might occur in a worker process, while
discarding a request body; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 00:00:00 +0000 |
parents | 2da4537168f8 |
children | 8246d8a2c2be |
comparison
equal
deleted
inserted
replaced
561:1763c9f30920 | 562:7fa8dc2315bd |
---|---|
364 | 364 |
365 if (u && u->cleanup) { | 365 if (u && u->cleanup) { |
366 r->main->count++; | 366 r->main->count++; |
367 ngx_http_upstream_cleanup(r); | 367 ngx_http_upstream_cleanup(r); |
368 *u->cleanup = NULL; | 368 *u->cleanup = NULL; |
369 u->cleanup = NULL; | |
369 } | 370 } |
370 | 371 |
371 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); | 372 u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); |
372 if (u == NULL) { | 373 if (u == NULL) { |
373 return NGX_ERROR; | 374 return NGX_ERROR; |
2854 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2855 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2855 "finalize http upstream request: %i", rc); | 2856 "finalize http upstream request: %i", rc); |
2856 | 2857 |
2857 if (u->cleanup) { | 2858 if (u->cleanup) { |
2858 *u->cleanup = NULL; | 2859 *u->cleanup = NULL; |
2860 u->cleanup = NULL; | |
2859 } | 2861 } |
2860 | 2862 |
2861 if (u->resolved && u->resolved->ctx) { | 2863 if (u->resolved && u->resolved->ctx) { |
2862 ngx_resolve_name_done(u->resolved->ctx); | 2864 ngx_resolve_name_done(u->resolved->ctx); |
2863 u->resolved->ctx = NULL; | 2865 u->resolved->ctx = NULL; |