www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Fw: mod_proxy/8090: CacheForceCompletion directive don't work
Date Mon, 03 Sep 2001 18:15:56 GMT
Another one to ponder :)

Bill

----- Original Message ----- 
From: "Alexey Panchenko" <panchenko@liwest.ru>
To: <submit@bugz.apache.org>
Sent: Thursday, July 26, 2001 7:10 AM
Subject: mod_proxy/8090: CacheForceCompletion directive don't work


> 
> >Number:         8090
> >Category:       mod_proxy
> >Synopsis:       CacheForceCompletion directive don't work
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Thu Jul 26 05:20:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator:     panchenko@liwest.ru
> >Release:        1.3.20
> >Organization:
> apache
> >Environment:
> Bug is not platform specific
> >Description:
> CacheForceCompletion directive don't work
> >How-To-Repeat:
> 
> >Fix:
> in mod_proxy.c:
>  static const char * 
>     set_cache_completion(cmd_parms *parms, void *dummy, char *arg)
>  {
>      proxy_server_conf *psf =
>      ap_get_module_config(parms->server->module_config, &proxy_module);
>      int s = atoi(arg);
>      if (s > 100 || s < 0) {
>          return "CacheForceCompletion must be <= 100 percent, "
>                 "or 0 for system default.";
>      }
>  
>      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 <apbugs@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!     ]
>  
>  
> 
> 

Mime
View raw message