-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
On 7/31/12 2:49 PM, André Warnier wrote: > Michele Mase' wrote: >> I'm waiting for a better solution ... Maybe should a sniffer pcap >> help in diagnosys? > > Wireshark is your friend. It may at least show you when the client > disconnects, and maybe why. But if the problem is in the response > body, I don't know if it will be very easy to find with a packet > dump (and these responses are big). > > Wait a bit. Maybe someone else more knowledgeable will see > something strange in those headers. > > Another idea : the 206 response header contains a "Content-Length" > header. According to the specs, this is supposed to be the total > number of bytes which should be contained in the response body > (before decoding it into parts). Try to compare this, with what > your Apache log tells you about the response size for the same > request. Careful when comparing : I believe that the response size, > for Apache, includes the HTTP headers; while the Content-Length > headers refers only to the response body, without the headers. What's interesting to note is that the request specifies two separate ranges: Request - ------- GET /test.pdf HTTP/1.1 Accept: */* Range: bytes=3446021-3447865, 475136-1792507 ... Response - -------- HTTP/1.1 206 Partial Content Server: Apache-Coyote/1.1 Accept-Ranges: bytes ETag: W/"3447866-1343391729000" Last-Modified: Fri, 27 Jul 2012 12:22:09 GMT Content-Type: multipart/byteranges;boundary=CATALINA_MIME_BOUNDARY Date: Tue, 31 Jul 2012 12:32:20 GMT Content-Length: 1319458 (end of post) There should probably be a chunk of the response with a Content-Length of -(3446021-3447865)=1844 bytes and another one with Content-Length of -(475136-1792507)=1317371 bytes, all packaged-up inside this single response. Can we get more of the data that you see? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAYMMIACgkQ9CaO5/Lv0PC3MQCfZcQ6Y6fka2miDK4yD5Uufp3K VKEAoIilIDXuuqDSa1DYWQ/WgxEJYFHa =qTvX -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org