Commit b01c2b31 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Hummm. not entirely sure if ap_meets_conditions() does everything we need it

to do in a proxy cache... will study more later.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95533 13f79535-47bb-0310-9956-ffa450edef68
parent 6016626f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -207,6 +207,16 @@ static int cache_url_handler(request_rec *r, int lookup)
            if (lookup) {
                return OK;
            }
            rv = ap_meets_conditions(r);
            if (rv != OK) {
                ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                             "cache: fresh cache - returning status %d", rv);
                return rv;
            }

            /*
             * Not a conditionl request. Serve up the content 
             */
            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                         "cache: fresh cache - add cache_out filter and "
                         "handle request");