On Jan 11, 2008 1:02 AM, Adrian Chadd <adrian@creative.net.au> wrote:
> Works for them. :) Something to fix that sort of thing may appear
> sometime in the future but it depends on interest and funding.
Btw, the patch posted on Domas' blog doesn't work as it doesn't filter
the Vary headers.
Moreover as I had a problem before fixing my own patch, I wonder if
removing the line strCat(request->vary_encoding, ""); doesn't cause a
core dump when Accept-Encoding is empty or missing.
Here is a slightly different patch based on the same concepts which
works for us. It maintains only 2 versions of the cache depending on
if the Accept-Encoding header contains gzip or not.
Note that I'm not especially fluent in C so it may be a bit ugly. If
someone can proofread it, I'll appreciate.
-- Guillaume
This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST