]> granicus.if.org Git - apache/commitdiff
Save request_time and response_time in the info struct
authorBill Stoddard <stoddard@apache.org>
Tue, 4 Jun 2002 17:30:59 +0000 (17:30 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 4 Jun 2002 17:30:59 +0000 (17:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95504 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_mem_cache.c

index 35ad3dc1b1232e9207f34a5a95c70a8aec76a161..c4f1f86f53da7aeb04bb025a1046a4c1c12671c6 100644 (file)
@@ -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) {