Commit dc518b7d authored by Bill Stoddard's avatar Bill Stoddard
Browse files

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
parent a2145db4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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) {