+-------------------------------------------------------------+
      |  THIS IS DOING MY HEAD IN  -  ANYONE GOT A BRAINWAVE ? ...  |
      +-------------------------------------------------------------+

I've got Cocoon behind Squid - as a proxy / 'acceleration' server.

Everything works fine, except...

Any PDF files downloaded from the site are truncated to 81920 bytes.

If I download directly from Cocoon the files download in full.

If I change the ending on the file (in the sitemap) to ".txt" or ".bin" 
the files download (through Squid) in full!

     -- but if you name the files ".txt" wget indicates that they have an 
unknown length
        (but still downloads them in full).

     -- if the files are named ".bin" wget knows the length in advance.
        (and downloads them in full).

So...

  1. Cocoon servers the files correctly.
  2. Squid happily serves much longer files as long as they don't end in 
".pdf".

                          +-----------------------+
                          |   TOTALLY BIZARRE!    |
                          +-----------------------+



            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  [EMAIL PROTECTED]
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to