tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anantaneni Harish <anantaneni.har...@vertexsoft.com>
Subject RE: cannot read complete HTTP request body. It reads only 8192 characters
Date Fri, 28 Oct 2011 05:41:15 GMT
Hi Chris,

Could you please let me know, the info you required?

Thanks and Regards,
Harish

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Friday, October 28, 2011 12:39 AM
To: Tomcat Users List
Subject: Re: cannot read complete HTTP request body. It reads only 8192 characters

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harish,

On 10/27/2011 4:58 AM, Anantaneni Harish wrote:
> Thanks for the directions the Rainer. Actually the issue is just
> solved.
> 
> We have changed from BufferedReader in = request.getReader();
> 
> to
> 
> BufferedReader in = new BufferedReader(new
> InputStreamReader(request.getInputStream()));
> 
> Now whole body has been read at my client's environment as well.
> 
> But would like to know, what causes the issue. Do you have any
> idea, why same method can read whole data in my environment and
> does not read whole data at my customer's environment?

You'll have to provide more information, such as the code you are
using. I'm fairly sure Tomcat is not the source of the problem.

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

iEYEARECAAYFAk6pewkACgkQ9CaO5/Lv0PAauACgmlp9pj8zXe16vpEZv7I8hhg3
vWQAoJJTLEsjoRD/7Yzegy9qQ5rekRZN
=pINS
-----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