[squid-users] Are there workarounds for "Invalid Response"?

From: David Landgren <[email protected]>
Date: Tue, 01 Mar 2005 10:43:59 +0100

Hello list,

I have a user who has reported an error when viewing a web page. The URL
in question is http://www.adonix.fr/adxfrv2/france/get/axLkFormContact .
I fetched the page with a Perl script and looked at the headers. I see
the following:

Connection: close
Date: Tue, 01 Mar 2005 09:26:48 GMT
Server: Lotus-Domino/0
Content-Length: 49009
Content-Type: text/html;
charset=ISO-8859-1;^MSet-Cookie:xadxcpt=1;path=/;^MSet-Cookie:xadxsessionid=coro6a3d4a;path=/;
Content-Type: text/html; charset=iso-8859-1
Client-Date: Tue, 01 Mar 2005 09:27:41 GMT
Client-Peer: 62.244.77.72:80
Client-Response-Num: 1
Content-Base:
http://www.adonix.fr/adxfrv2/technical/xagthtml.nsf/xhtmlagent?openagent&xdlk=axLkFormContact
Content-Base: http://www.adonix.fr/adxfrv2//Complements/
Link: </Style/adonixstyle.css>; rel="stylesheet"; type="text/css"
Title: ADONIX - Formulaire de contact

<!-- Adonix Xtend -->^M<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">^M
<html><!-- InstanceBegin template="/Templates/colonnes.dwt"
codeOutsideHTMLIsLocked="false" -->^M
<head>^M<BASE HREF="http://www.adonix.fr/adxfrv2//Complements/">^M
[... blah blah blah rest of page ...]

It looks to me that in the line:

charset=ISO-8859-1;^MSet-Cookie:xadxcpt=1;path=/;^MSet-Cookie:xadxsessionid=coro6a3d4a;path=/;

... the programmers have messed up their line-ending, and it's this that
is causing Squid (2.5-STABLE8) to choke. But then again it might be
something else.

Now I can always dream about writing to the owners of the web site and
tell them to fix their web page. Somehow, I don't think that's going to
work.

Is it possible to work around this in Squid? I've tried always_direct
and no_cache ACLs, but no joy.

Thanks for any clues I can use,
David
Received on Tue Mar 01 2005 - 02:44:02 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST