Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_upstream.c @ 432:fd759445d8a8 NGINX_0_7_28
nginx 0.7.28
*) Change: in memory allocation in the ngx_http_gzip_filter_module.
*) Change: the default "gzip_buffers" directive values have been
changed to 32 4k or 16 8k from 4 4k/8k.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 22 Dec 2008 00:00:00 +0300 |
parents | dac47e9ef0d5 |
children | 49a0eb7ce20c |
comparison
equal
deleted
inserted
replaced
431:e2c4e8b635a8 | 432:fd759445d8a8 |
---|---|
2486 ngx_time_t *tp; | 2486 ngx_time_t *tp; |
2487 | 2487 |
2488 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2488 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2489 "finalize http upstream request: %i", rc); | 2489 "finalize http upstream request: %i", rc); |
2490 | 2490 |
2491 *u->cleanup = NULL; | 2491 if (u->cleanup) { |
2492 *u->cleanup = NULL; | |
2493 } | |
2492 | 2494 |
2493 if (u->state && u->state->response_sec) { | 2495 if (u->state && u->state->response_sec) { |
2494 tp = ngx_timeofday(); | 2496 tp = ngx_timeofday(); |
2495 u->state->response_sec = tp->sec - u->state->response_sec; | 2497 u->state->response_sec = tp->sec - u->state->response_sec; |
2496 u->state->response_msec = tp->msec - u->state->response_msec; | 2498 u->state->response_msec = tp->msec - u->state->response_msec; |