You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/01/28 15:44:02 UTC
DO NOT REPLY [Bug 16492] New: -
mod_proxy doesn't correctly retrieve values from Cache-Control Headers
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=16492>.
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=16492
mod_proxy doesn't correctly retrieve values from Cache-Control Headers
Summary: mod_proxy doesn't correctly retrieve values from Cache-
Control Headers
Product: Apache httpd-1.3
Version: 1.3.27
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: mod_proxy
AssignedTo: bugs@httpd.apache.org
ReportedBy: tcastelle@generali.fr
Hello,
this bug is related to the "Incorrect handling of several Cache-Control
directive by mod_proxy".
While looking at this bug, I saw that mod_proxy was not correctly reading values
from max-age=... or max-stale=... Cache-Control directives.
I wrote a little patch for the ap_proxy_liststr function in proxy_util.c, can
you tell me if it is correct ?
The problem is that this function doesn't correctly handle the = sign, so val
isn't correctly set. I also added a memset(valbuf, 0, sizeof(valbuf)) because
this variable wasn't clean when I copied it in *val...
Thanks for looking at it and tell me if it's not "dangerous" for my apache build !
Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org