DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26790

error deleting old cache file

           Summary: error deleting old cache file
           Product: Apache httpd-1.3
           Version: 1.3.29
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_proxy
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The proxy can not update the cache, if a newer file is delivered from the 
requested server. 
While trying to update the old cache file the following error occurs:
Permission denied: error deleting old cache file

The reason is an unclosed file handle in line 1768 of proxy_cache.c.

Bugfix:
Add the following lines to close the file handle before deleting it (line 1768):

        if (c->origfp != NULL) {
                ap_pclosef(c->req->pool, ap_bfileno(c->origfp, B_WR));
        }

Please confirm these changes or send us a mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to