[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

gzip/squid patch



If Miles hasn't already created a patch, here's what I have done:

#define HEADER_PART3V "\r\nVary: Content-Encoding"

(calculate MAX_OUT_HEADER_LEN)
sizeof(HEADER_PART3P) + 32 + sizeof(HEADER_PART3V) + \

(before adding extra HTML header)
        /*
         * Always add the Vary HTML header to get around SQUID caching bugs
         * when the data is compressed.
         */
        COPY_STATIC_PART(3V, curr);

Vary: is always sent, and therefore always works with squid.

Cheers.

-- 
Schedule your world with ScheduleWorld.com
http://www.ScheduleWorld.com/





[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net