different behaviour for CDDB request between Squid/2.0.PATCH2 and Squid/2.2.STABLE5

From: Diarmuid Collins <[email protected]>
Date: Thu, 02 Mar 2000 10:33:14 +0000

Hi,
        I hope this question hasnt come up before. I have searched the
squid web site for it and read the FAQ and I didnt come across any
info on my problem.

We have two different offices at work with a very similar setup. I had set
up xmcd (a cd player with CDDB support) in one office and it worked fine.
However recently I have moved to the other office and installed xmcd and
the CDDB support was broken. With a bit of digging I figured out that the
requests the xmcd player uses are handled differently between Squid/2.0.PATCH2
and Squid/2.2.STABLE5. Here is a telnet session to the two proxies :

telnet xxxx 3128
Trying 193.xx.xxx.xx...
Connected to xxxx.
Escape character is '^]'.
GET
http://us.cddb.com:80/~cddb/cddb.cgi?cmd=cddb+query+7a0e700a+10+182+38117+79932+120420+135220+159062+185675+197505+219930+251240+3698&hello=dcollins+escort+cda+v2.6PL0&proto=4
HTTP/1.0
Host: us.cddb.com
User-Agent: Mozilla/4.7 (compatible; cda 2.6PL0)
Accept: text/plain

HTTP/1.0 200 OK
Date: Thu, 02 Mar 2000 02:07:45 GMT
Server: Apache/1.3.6 (Unix) (Red Hat/Linux)
Expires: Wed Mar 1 18:07:45 2000
Content-Type: text/plain
Age: 28907
X-Cache: MISS from lynx.xxxx.xx
Proxy-Connection: close

200 rock 7a0e700a Rory Gallagher / BBC Sessions (Disc 1)
Connection closed by foreign host.

Here is the same test using Squid/2.2.STABLE5..

 10:32_dcollins_[221]>telnet 193.xxx.xx.x 3128
Trying 193.xxx.xx.x...
Connected to 193.xxx.xx.x.
Escape character is '^]'.
GET
http://us.cddb.com:80/~cddb/cddb.cgi?cmd=cddb+query+7a0e700a+10+182+38117+79932+120420+13220+159062+185675+197505+219930+251240+3698&hello=dcollins+escort+cda+v2.6PL0&proto=4
HTTP/1.0
Host: us.cddb.com
User-Agent: Mozilla/4.7 (compatible; cda 2.6PL0)
Accept: text/plain

HTTP/1.0 200 OK
Date: Wed, 01 Mar 2000 02:32:11 GMT
Server: Apache/1.3.6 (Unix) (Red Hat/Linux)
Expires: Tue Feb 29 18:32:11 2000
Content-Type: text/plain
Age: 28912
X-Cache: MISS from xxxx.xxxx.xx
Proxy-Connection: close

Connection closed by foreign host.

As you can see the connection is closed in the second version before the
CDDB info is returned. As I'm not the system admin I cant really look at the
configuration for squid so I guess I'm not in a position to tell anyone
how Squid is setup here so it could be a config problem (but it doesnt
look like that to me) If anyone has seen this before or has an idea
of how to fix it I could pass it on to our systems guys.

Thanks in advance

Diarmuid

-- 
 Diarmuid Collins                |   +353-1-2185544    
 Silicon & Software Systems Ltd  |   diarmuid.collins@s3group.com
Received on Thu Mar 02 2000 - 03:49:01 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:53 MST