https://bz.apache.org/bugzilla/show_bug.cgi?id=59664

liujian <else.liuj...@huawei.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #2 from liujian <else.liuj...@huawei.com> ---
Thanks for your reply.

I know that not issue for Tomcat.

I follow you suggest.
Judge the return value of read()  is an effective way.
the return is 0,sleep() and read() again later,I test OK now.

And I test another way, use ready()
If ready() return false, sleep() and read() again later,but it lead to endless
loop!


It to easy to be cheated by BufferReader,and the j2se doc is so obscure too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to