https://issues.apache.org/bugzilla/show_bug.cgi?id=53814

--- Comment #2 from Konstantin Preißer <prei...@web.de> ---
Hi,

I can reproduce this on a Windows 7 (SP1) x64 machine with Java 1.7.0_07
(64-Bit), Tomcat 7.0.30, using HTTP-APR (TC Native 1.1.24, 64-Bit), and with
IE9 + Adobe Reader 9.5.0 (on the same machine). I used the PDF file from the OP
in http://markmail.org/thread/lkr6touhymrxn4rg.

To record the data which is sent on TCP connections to Tomcat, I created a
small Java program that redirects TCP connections and writes the exact data
which is transmitted to 2 Filestreams (one for sending and one for receiving)
per opened TCP connection.

I have uploaded a zip file which contains the original PDF file, and two
folders which contains TCP stream data for Tomcat 7.0.30 and Tomcat 7.0.26. For
each TCP connection, there are two file pairs, one with "In" and one with
"Out".
It is available here: http://preisser.dynalias.org/dere1/Tomcat-PDF-Test.zip

What I can see is:
- With Tomcat 7.0.26, no problem occurs: IE does a request to the PDF file, and
after some KB are transferred, the TCP connection is canceled. Then a new TCP
connection is created, probably by Adobe Reader, which sends multiple requests
with byte ranges (for the "Fast Web View").

- With Tomcat 7.0.30, the behavior is the same, except that the Adobe Reader
sometimes seems to cancel one of the TCP connections and then displays a
"Network Error" (because of that, the file "TCP-Data TC 7.0.30/Sock-1-In.txt"
has only 8.00 KiB).

However, I don't know why Adobe Reader seems to think that there is an error,
as I could not find anything wrong with Tomcat's response - the byte range
response seems correct to me.

Maybe someone which has more detailed knowledge with the HTTP protocol can
examine the files to see if there is anything going wrong...

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to