From: Bill Stoddard Date: Tue, 4 Jun 2002 17:30:59 +0000 (+0000) Subject: Save request_time and response_time in the info struct X-Git-Tag: 2.0.37~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5003e52389445be00f06ec7290333f20f34f488e;p=apache Save request_time and response_time in the info struct git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95504 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_mem_cache.c b/modules/experimental/mod_mem_cache.c index 35ad3dc1b1..c4f1f86f53 100644 --- a/modules/experimental/mod_mem_cache.c +++ b/modules/experimental/mod_mem_cache.c @@ -715,6 +715,12 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r, cache_info if (info->expire) { obj->info.expire = info->expire; } + if (info->response_time) { + obj->info.response_time = info->response_time; + } + if (info->request_time) { + obj->info.request_time = info->request_time; + } if (info->content_type) { obj->info.content_type = (char*) calloc(1, strlen(info->content_type) + 1); if (!obj->info.content_type) {