Bug 16492 - mod_proxy doesn't correctly retrieve values from Cache-Control Headers
Summary: mod_proxy doesn't correctly retrieve values from Cache-Control Headers
Status: RESOLVED WONTFIX
Alias: None
Product: Apache httpd-1.3
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 1.3.27
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-01-28 14:44 UTC by Thomas CASTELLE
Modified: 2007-08-02 11:45 UTC (History)
0 users



Attachments
Patch to correctly handle Cache-Control directives with = signs (1.68 KB, patch)
2003-01-28 14:44 UTC, Thomas CASTELLE
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas CASTELLE 2003-01-28 14:44:01 UTC
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.
Comment 1 Thomas CASTELLE 2003-01-28 14:44:55 UTC
Created attachment 4584 [details]
Patch to correctly handle Cache-Control directives with = signs
Comment 2 Thomas CASTELLE 2003-01-31 16:23:23 UTC
Is someone looking at this bug ?
Please keep me informed !

Thomas.
Comment 3 Thomas CASTELLE 2003-02-10 10:06:40 UTC
I'm very sad, nobody's looking at my bugs ! I'm going to cry very loud...

Help ! I need somebody's help ! ;-)

Thomas.
Comment 4 Jeff Trawick 2003-11-21 18:09:44 UTC
I'm going through the bug db to make sure patches are findable.  Please see 
http://httpd.apache.org/dev/patches.html