You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Hisashi Gotoh <go...@horae.dti.ne.jp> on 2001/02/11 01:14:13 UTC

mod_proxy/7227: CacheForceCompletion does not work

>Number:         7227
>Category:       mod_proxy
>Synopsis:       CacheForceCompletion does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Feb 10 16:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     gotoh@horae.dti.ne.jp
>Release:        1.3.17
>Organization:
apache
>Environment:
NetBSD 1.5
>Description:
I found trivial mistake in mod_proxy.c/set_cache_completion().
>How-To-Repeat:

>Fix:
--- mod_proxy.c-        Sun Feb 11 08:46:48 2001
+++ mod_proxy.c Sun Feb 11 08:54:37 2001
@@ -856,7 +856,7 @@
     if (s > 0)
       psf->cache.cache_completion = ((float)s / 100);
 
-    psf->cache.cache_completion = 1;
+    psf->cache.cache_completion_set = 1;
     return NULL;    
 }

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]