Commit 99302085 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

* modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk

structures.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151815 13f79535-47bb-0310-9956-ffa450edef68
parent c7acac67
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@ Changes with Apache 2.1.3
  [Remove entries to the current 2.0 section below, when backported]
  *) mod_disk_cache: Properly load cached ETag from on-disk structures.
     [Justin Erenkrantz]
  *) mod_authnz_ldap: Added an optional second parameter to AuthLDAPURL
     to allow it to override the connection type set in mod_ldap. This
     parameter can be set to NONE, SSL or TLS | STARTTLS.
+1 −0
Changes for modules/cache/mod_disk_cache.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -481,6 +481,7 @@ static apr_status_t recall_headers(cache_handle_t *h, request_rec *r)

    h->status = dobj->disk_info.status;
    h->content_type = apr_table_get(h->resp_hdrs, "Content-Type");
    h->cache_obj->info.etag = apr_table_get(h->resp_hdrs, "ETag");

    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                 "disk_cache: Recalled headers for URL %s",  dobj->name);