Search squid archive

Squid 3.0 problem with chunked encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm working through a problem where pages from a broken web server aren't making it through Squid 3.0 (tested up through STABLE 8). The page source according to the browser (Firefox 2, Firefox 3, or IE7) is the "28B" which should be the start of the chunk, followed by the chunk itself, and then "0" that would finish the chunked transfer. I'm hoping that I can manage to contact the admins of the web server and get them to fix their problem, but is there any way I can work around the problem in Squid?

Here are the two transactions, first performed directly with the web server using netcat, and then via Squid:

Direct to Server:
-----------------
GET /home.htm HTTP/1.0
Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxx

Response from Server:
---------------------
HTTP/1.1 200 OK
Date: Thu, 31 Jul 2008 17:48:08 GMT
Server: TekWS/1.0.0 Series-M/6.2.01 23500
Set-Cookie: SID=xxxxxxxxxxxxx; httponly
Content-Type: text/html
Cache-Control: no-cache
Set-Cookie: SID=xxxxxxxxxxxxx; httponly
Connection: close
Transfer-Encoding: chunked

28B
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd";>
<html>
<head>
<title>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="shortcut icon" href="images/favicon.ico" />
</head>
<frameset rows="*,0" frameborder="no"framespacing="0">
 <frame src="data/map.fxml?nocache&idn=102 &now=46088571 " name="mainFrame"  scrolling="no"  application="yes">
 <!--<frame src="status.htm" name="statusFrame" application="yes">-->
<noframes>
<body>
Browser must support frames.
</body>
</noframes>
</html>
0


Sent to Squid:
--------------
GET http://99.99.199.99:9999/home.htm HTTP/1.0
Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxx

Received from Squid:
--------------------
HTTP/1.0 200 OK
Date: Thu, 31 Jul 2008 17:50:17 GMT
Server: TekWS/1.0.0 Series-M/6.2.01 23501
Set-Cookie: SID=xxxxxxxxxxxxx; httponly
Content-Type: text/html
Cache-Control: no-cache
Set-Cookie: SID=xxxxxxxxxxxxx; httponly
Transfer-Encoding: chunked
X-Cache: MISS from xxxxxxxxxxxxxxxxx.palisadesys.com
Proxy-Connection: close

28B
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd";>
<html>
<head>
<title>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="shortcut icon" href="images/favicon.ico" />
</head>
<frameset rows="*,0" frameborder="no"framespacing="0">
 <frame src="data/map.fxml?nocache&idn=102 &now=46217962 " name="mainFrame"  scrolling="no"  application="yes">
 <!--<frame src="status.htm" name="statusFrame" application="yes">-->
<noframes>
<body>
Browser must support frames.
</body>
</noframes>
</html>
0




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux