https://issues.apache.org/bugzilla/show_bug.cgi?id=56304

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Mark Thomas <ma...@apache.org> ---
There is no Java API available for setting a write timeout.

Closing the socket may or may not be possible - it depends on the locking
implemented by the JRE. I've taken a look at the Java side and there is a lock
on close but not on write. However, a lock could occur on the same object in
the native code.

Given your experience, it looks like tweaking the kernel network parameters are
the best (only?) option if you want to run WebSocket + HTTP BIO + Linux.

I have added some appropriate notes to the WebSocket docs for 8.0.x (8.0.5+)
and 7.0.x (7.0.53+)

-- 
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