From: Justin Erenkrantz Date: Tue, 8 Feb 2005 02:01:46 +0000 (+0000) Subject: * modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk X-Git-Tag: 2.1.3~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3846ec8b48c909334a82f05a874e7f4777bb2b37;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/CHANGES b/CHANGES index b19d2a46385..c5a3788148f 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index e42c3728247..94717a2e3af 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -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);