[squid-users] Content Length Header problem

From: <richard.fuser@dont-contact.us>
Date: Thu, 4 Jul 2002 13:27:03 +1000

This email is to be read subject to the disclaimer below.

Hi All,

I saw a posting from Henrick with the following comment in it regarding
content length headers and squid handling them.

Link > http://list.cineca.it/cgi-bin/wa?A2=ind0010&L=squid&P=R28799

I was curious about something, we have pages that use a activex function
that is generating data dynamically and squid seems to always report a 411
error (length required) in the link above it mentions this will occur in
the following situation.

a) If there is no Content-Length on requests which must have one (POST,
PUT)

Becasue the content is being generated dynamically in cannot tell the
content length in advance, I am thinking it should be using chunked
encoding until it knows the length???

When I sniff the connection to the proxy I see a POST method take place so
I am thinking that I am experiencing the exact problem mentioned in the
post.

We are running Squid 2.4 STABLE 3 and are wondering if there is any
solution to this problem, I belive the coding is dodgey but not sure how
easy it is going to be to get them to change it.

Any help or comments would be appreciated, Henrick? :)

When you are the man you have to be the man, and when it comes to squid
Henrick is the man.......

Regards,
Richard Fuser
Firewall & UNIX Systems Administrator

--------------------
NOTICE - This communication contains information which is confidential and
the copyright of Ernst & Young or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone Ernst & Young on 1800 655 717
immediately. If you are the intended recipient of this communication you
should not copy, disclose or distribute this communication without the
authority of Ernst & Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views of
Ernst & Young.

Except as required at law, Ernst & Young does not represent, warrant and/or
guarantee that the integrity of this communication has been maintained nor
that the communication is free of errors, virus, interception or
interference.

Liability limited by the Accountants Scheme, approved under the
Professional Standards Act 1994 (NSW)
--------------------
Received on Wed Jul 03 2002 - 21:27:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:01 MST