Re: [squid-users] httpReadReply: Excess data from GET - Corrupt download

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 19 May 2009 13:27:22 -0800

Emanuel dos Reis Rodrigues wrote:
> Helo ...
>
>
> I have a problem with migration from squid 2.6 and 2.7 ...
>
> I have one PHP application than make reports in PDF from php script
> .... using fpdf lib ...
>
> when access ... script.php, this return one download of pdf file ...
> ( This is always the same file name doc.pdf )
>
> The behavior is strange .... some times the download file is corrupt
> .. and some times that is OK ....
>
>
> Always display this when my try is OK or no ...
>
>
> httpReadReply: Excess data from "GET http://XXX.XXXX.COM/anex3.php
>
>
> I know than ... this message is because the data is more than
> header lenght information ...

Fix the script. It's better to give no "Length" header than an
inaccurate one. Otherwise, you should be able to use header_access to
deny the Length header from the site hosting this PDF creator (or even
the particular URL).

> ok ? more sites do this ...
>
> I use debian 5.0 squid2.7 and in Debian 4 using squid2.6 works without
> problems ...
>
> regards,
>
>
> Emanuel
>

Chris
Received on Tue May 19 2009 - 21:27:27 MDT

This archive was generated by hypermail 2.2.0 : Wed May 20 2009 - 12:00:02 MDT