Windows ("...rename tempfile to datafile failed..."). PR 38827
[Eric Covener]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1405494 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.5.0
+
+ *) mod_cache_disk: Resolve errors while revalidating disk-cached files on
+ Windows ("...rename tempfile to datafile failed..."). PR 38827
+ [Eric Covener]
*) mod_proxy: Add ability to configure the sticky session separator.
PR 53893. [<inu inusasha de>, Jim Jagielski]
static int remove_entity(cache_handle_t *h)
{
+ disk_cache_object_t *dobj = (disk_cache_object_t *) h->cache_obj->vobj;
+ if (dobj->fd != NULL) {
+ apr_file_close(dobj->fd);
+ }
+
/* Null out the cache object pointer so next time we start from scratch */
h->cache_obj = NULL;
return OK;