-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Thad,
On 3/27/13 5:20 PM, Thad Humphries wrote: > On Tue, Mar 26, 2013 at 3:56 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Thad, > > Coming a little late to the party... > > On 3/24/13 4:30 PM, Thad Humphries wrote: >>>> I have a web-app that uses a servlet for downloading files >>>> from a repository--PDF, Office, images, zip, etc. It works >>>> with desktop browsers--IE, Firefox, Chrome, and Safari--on >>>> their various platforms. It also works fine with Firefox from >>>> Android (2.3 and 4.x tested). However when I try with >>>> Android's default WebKit browser, the servlet fails >>>> immediately with >>>> org.apache.catalina.connector.ClientAbortException (so says >>>> the stderr log). > > This smells like it might be a Range request issue. Is the client > sending a Range header along with the request? Are you respecting > it? > > >> I don't see a Range header from my servlet. Here's the request; > >> GET >> /myapp/webclient/copyObjectServlet?tag=0oATVXQD1B_l4Vzpw9n1X1EeKIXTKk6d&name=grilled_romaine.doc >> >> HTTP/1.1 >> Host: 10.1.2.1:8080 Accept-Encoding: gzip Accept-Language: en-US >> x-wap-profile: >> http://www.htcmms.com.tw/Android/Common/Ace/A9192-1.0.xml Cookie: >> JSESSIONID=0AACB4E188B2B68605FE0189C007F7BB Accept-Charset: >> utf-8, iso-8859-1, utf-16, *;q=0.7 Referer: >> http://10.1.2.1:8080/myapp/?id=ipad&ref=267 Keep-Alive: 115 >> User-Agent: Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; >> HTC-A9192/1.0 Build/GRJ90) AppleWebKit/533.1 (KHTML, like Gecko) >> Version/4.0 Mobile Safari/533.1 x-att-deviceid: HTC-A9192/1.0 >> Connection: keep-alive Accept: >> application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > >> Here's the response: > >> HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Expires: 0 >> Cache-Control: private Pragma: cache Content-Disposition: >> attachment; filename="grilled_romaine.doc" Content-Type: >> application/msword Content-Length: 12288 Date: Wed, 27 Mar 2013 >> 20:46:02 GMT Hmm... and this particular request/response pair resulted in a ClientAbortException? Any idea how many bytes were sent before the exception? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRU24yAAoJEBzwKT+lPKRYYIgP/1ZFfJIPzFl11Vext7mvoxzk GbzoEscoExWBXo98fcnIx9iq1VvIgPeZrcyR1Q0qDlSWkUlohi84neu8AdCM2jyo EUTXXwwzEJlIOETngvReHR00FGC8mJohWVnZgv3rFVU8jBQhO9RlFpmTLOkncr0V zxGYxzrbZ9UEU+/F45WQ3YqzbgJ6aoHJd6gMYttWemerrmuHq/s3MBIXxE2fGXnv gVg+s6ij924TtB2O5TwYqLdbj/qPAKxqwgI7UyPEvsq1MW6LphcqSQwuw6UvBqxc dZ8jJddHCv0BJ3Eha2GM8U2wWotLGLMBaWXd4vaE2oAinFn3WyJnhiHUDlzGFbyT Z7KnS4dzpFtTC3PSxVJHFKP/tZfE4ew/LVHZiEEKjpGLu2NvVTFkXlQyQwzJSL64 O05Tbn/s35+w9pyQT+WFulTEtsJsd4k8bNffWllchm+Kqzcz0G9JhRQtX7e0pV6H Pz23J9QqRaQremOPKTj0pkKtX02cm4p8C309fBkebCH0XzTka41ky1KUZWVfbuNt sXF0KevaajylFE8rudrwXIY9/wySb29gNbSdlxSiAykhW91dqCWbC61QIiHBFyZ7 3lhpX1Yi4eCXcwM0FjXytxXELtMWSq9bPQ6thMHhQRNsT3A/XschaXRvxEaIkIM8 6YF/vNPRpTGgzBA/hGUC =qTPr -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org