Re: [squid-users] Outlook 2010 crashing on gzip-encoded proxied internet calendars

From: Pim Zandbergen <pim_at_zandbergen.org>
Date: Fri, 29 Jun 2012 15:14:12 +0200

On 29-6-2012 3:04, Amos Jeffries wrote:
> On 29/06/2012 5:52 a.m., Pim Zandbergen wrote:
>> Or can I prevent Outlook from receiving gzip encoded data even if it
>> requests it?
>>
>
> You can try this:
>
> acl outlook browser <user-Agent string pattern for outlook>
> request_header_access Accept-Encoding deny outlook
>

Unfortunately, that does not help. Closer examination shows Outlook is
_never_ sending Accept-Encoding headers.
I falsely stated otherwise in another post.

Yet, sometimes it is receiving gzip encoded data, sometimes plain text.
It crashes on the gzip data, and survives the plain text data.

Other calender programs, such as Mozilla Thunderbird/Lightning and Apple's
calendar app on the iPhone are subscribed to the same URL, using the
same proxy.
They are accepting and receiving gzip encoded data. They don't crash.

Could it be squid is feeding Outlook a gzip encoded cached calendar,
which was previously received by Thunderbird? Would that be a squid bug?

I suppose a workaround could be to deny gzip encoded data for the
URL regardless of the browser:

acl applecalendars url_regex http://files.apple.com/calendars/
request_header_access Accept-Encoding deny applecalendars

Thanks,
Pim
Received on Fri Jun 29 2012 - 13:14:29 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 29 2012 - 12:00:04 MDT