tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: unable to read complete POST body via tomcat connector
Date Sun, 04 May 2008 12:04:58 GMT
Mark Thomas schrieb:
> John.C.Cartwright@noaa.gov wrote:
>> Hello All,
>>
>> I'm trying to POST a relatively small amount of content (22K) and find
>> that when the request comes via apache/mod_jk, I can only read part of
>> the body.  The same request to standalone tomcat (HTTP connector) works
>> file.  I'm reading the POST body with code like:
>>
>> BufferedReader reader = request.getReader();
>> String inputLine;
>> while ((inputLine = reader.readLine()) != null) {
>>    sb.append(inputLine);
>> }
>>
>> Can anyone suggest what might be wrong?
> 
> Tomcat version? mod_jk version? httpd version? jvm version?
> Which part of the body can you read? How much data can you read? Is it 
> always the same or does it vary by request?
> 
> Mark

... and if you are using 5.5.26 or 6.0.16 and always get around 8KB, you 
might be hitting Bugzilla 44494 
(https://issues.apache.org/bugzilla/show_bug.cgi?id=44494).

Rainer

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


Mime
View raw message