Re: [squid-users] Help Regarding IIS, No Content Length, and/or Chunked Encoding (again...with the complete message no

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 5 Jun 2008 15:38:11 +1200 (NZST)

>
> Sorry, but I'm resending this because I accidentally cut off the last
> portion of the e-mail that shows the tcpdump output from a successful
> download from the proxy itself. Sorry again:
>
> I'm having a problem with my Squid setup when trying to download files
> from an IIS-based site. Basically, when I attempt to download something
> on my intranet (through my Squid setup) to the IIS sites in question, the
> downloads may go about 99% of the way through before it just stalls out
> (at which point, I lose my patience and terminate the download attempt).
> If I attempt the same download from the proxy server itself, the download
> works fine. I wasn't sure if this had something to do with (1) there's no
> content-length assigned to the headers of what I'm trying to download, (2)
> when going through the proxy, the transfer-encoding is set to chunked, or
> (3) IIS in general.
>
> The version of Squid I was using initially was squid-2.5.STABLE14-1.4E, as
> part of RHEL4. I also compiled and reinstalled squid 2.6STABLE20, but had
> the same results. The tcpdump data below is from my 2.5stable14-1.4e
> attempt. The download clients I used included curl, Firefox 2, and IE6.
>

I'd stick with the upgraded Squid in your place. Even if its has this
problem still, there are many other reasons to use a modern Squid.

The headers you provide don't show the broken IIS chunked issues. From the
look of it the lack of length is covered by the "Connection: close" sent.

> Here's the beginning tcpdump data from a failed download through the proxy
> server:
>
> GET
> /blablah.aspx?GFRId18XxF1c2MoqveR5XoHdxYfsxUE399kN0pepeNZPtpJJXR8Qn7DKxRuu1kfsrWZHMx
> HTTP/1.0
> User-Agent: curl/7.16.4 (i486-pc-linux-gnu) libcurl/7.16.4 OpenSSL/0.9.8e
> zlib/1.2.3.3 libidn/1.0
> Host: www.blahblah.com
> Pragma: no-cache
> Accept: */*
> Via: 1.1 myproxy.blah.com:80 (squid/2.5.STABLE14)
> X-Forwarded-For: 192.168.1.1
> Cache-Control: max-age=259200
> Connection: keep-alive
>
> HTTP/1.1 200 OK
> Connection: close
> Date: Wed, 04 Jun 2008 18:16:36 GMT
> Server: Microsoft-IIS/6.0
> X-Powered-By: ASP.NET
> X-AspNet-Version: 2.0.50727
> Content-Disposition: attachment;filename=FIM_Admin_Manual.zip
> Set-Cookie: ASP.NET_SessionId=lcdlq5zvnci05o450gldaqr0; path=/; HttpOnly
> Cache-Control: private
> Content-Type: application/octet-stream
>
> PK..........U8V,w...X...a.....FIM Admin
> Manual.pdf...t....mf..!ffffffff.1f....)f.......O:....7}..53k}..Wo.J.O.mik..rB"..4,..[....P..t....\\....6N..l..J.v..r.......F..?..=.q.C.....EZ.+cc.........?U*9.[.S...........$.....BI.........
> 2..X..K....o<..=.q.C.....EZ.+cc.........?U*9.[.S...........$.....BI.........
> 2..X..K....o<
> _________________________________________________________________
> Instantly invite friends from Facebook and other social networks to join
> you on Windows Live™ Messenger.
> https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends
Received on Thu Jun 05 2008 - 03:38:14 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 05 2008 - 12:00:02 MDT