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.
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=superblah.zip
Set-Cookie: ASP.NET_SessionId=lcdlq5z678i05o450gldaqr0; 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<
_________________________________________________________________
Search that pays you back! Introducing Live Search cashback.
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=srchpaysyouback
Received on Wed Jun 04 2008 - 23:15:38 MDT
This archive was generated by hypermail 2.2.0 : Thu Jun 05 2008 - 12:00:02 MDT