Mercurial > hg > nginx-vendor-0-6
comparison src/http/ngx_http_upstream.c @ 382:e9979466be2f NGINX_0_6_35
nginx 0.6.35
*) Bugfix: in shared memory allocations if nginx was built without
debugging.
Thanks to Andrey Kvasov.
*) Bugfixes in an "Expect" request header line support.
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Jan 2009 00:00:00 +0300 |
parents | 3ce4580ae286 |
children | 09b703ae3ba5 |
comparison
equal
deleted
inserted
replaced
381:0d28fd57288c | 382:e9979466be2f |
---|---|
2343 ngx_time_t *tp; | 2343 ngx_time_t *tp; |
2344 | 2344 |
2345 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2345 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2346 "finalize http upstream request: %i", rc); | 2346 "finalize http upstream request: %i", rc); |
2347 | 2347 |
2348 *u->cleanup = NULL; | 2348 if (u->cleanup) { |
2349 *u->cleanup = NULL; | |
2350 } | |
2349 | 2351 |
2350 if (u->state && u->state->response_sec) { | 2352 if (u->state && u->state->response_sec) { |
2351 tp = ngx_timeofday(); | 2353 tp = ngx_timeofday(); |
2352 u->state->response_sec = tp->sec - u->state->response_sec; | 2354 u->state->response_sec = tp->sec - u->state->response_sec; |
2353 u->state->response_msec = tp->msec - u->state->response_msec; | 2355 u->state->response_msec = tp->msec - u->state->response_msec; |