tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44494] Requests greater than 8k being truncated.
Date Sat, 19 Apr 2008 04:46:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494





--- Comment #47 from Suzuki Yuichiro <suzuki.yuichiro@jp.fujitsu.com>  2008-04-18 21:46:52
PST ---
I tried current 6.0.x. It looks working fine at all test cases.
Thank you very much for the fix.

But there is a few comments.
1. readAheadLimit value that specified by the mark method has no meanings.
   After the mark method is called once, tomcat seems to buffer all of the
body.
   The JavaDoc of BufferedReader allows tomcat to use arbitrary size
   (over readAheadLimit) buffer, but that may cause OutOfMemory
   however the application developer specified a moderate size for
readAheadLimit.

2. At the recycle phase, ReadConverter convert all byte sequence
   that was not read by application,  but the converted character sequence
   is not used.
   In recycling, it's more efficient that the under-lying input stream
   returns -1 immediately. (Though it might not be the most efficient
solution.)

They may be not bugs, but improvement level.

Best Regards.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message