From: Justin Erenkrantz Date: Mon, 2 Aug 2004 17:32:31 +0000 (+0000) Subject: * modules/experimental/mod_disk_cache.c (load_headers): Only validate that the X-Git-Tag: pre_ajp_proxy~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5fc9b215d337e0a7a1f6f0fb4506fda9066551d;p=apache * modules/experimental/mod_disk_cache.c (load_headers): Only validate that the header file descriptor is available. (fd is an unnecessary check here.) Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index 37b035536e..92ae5e1545 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -465,7 +465,7 @@ static apr_status_t read_headers(cache_handle_t *h, request_rec *r) apr_table_t * tmp; /* This case should not happen... */ - if (!dobj->fd || !dobj->hfd) { + if (!dobj->hfd) { /* XXX log message */ return APR_NOTFOUND; }