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

liujian <[email protected]> changed:

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

--- Comment #2 from liujian <[email protected]> ---
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to