tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: http put not working for larger files
Date Thu, 20 Oct 2011 21:21:02 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lyudmila,

On 10/18/2011 5:21 PM, Lyudmila L. Balakireva wrote:
> Yes, packages are sent by apache client untill eof,  no socket
> problem reported. And it works for binary and text. And the input
> stream I am getting  from request in tomcat  already truncated  for
> some longer lasting requests.

Sounds like you need to debug your webapp. Can you confirm which part
of the file gets saved when it fails to save the entire thing? First
40KiB?  Last 40KiB? Random sample of bytes?

You should also, of course, be logging the Content-Length or, since
you're using chunked upload, each individual chunk's length.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6gkL4ACgkQ9CaO5/Lv0PBnywCgu1uHb+fqRq23bOVnVzrkVKVS
0D8AniJzPXUzQtwqy9WJ6Cwpja+3W6h3
=JlHo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message