Details
Description
In the handle method of WebsocketConnectionD00 class, it is using _endp.fill method to get the bytes from the ChannelEndPoint. ChannelEndPoint is using SocketChannel's read method to read bytes from the buffer. Potentially read method can return 0 bytes and that is not being checked in _endp.fill. As a result this is leading to an infinite loop in the handle method of WebsocketConnectionD00. This issue might also be related to an old issue http://jira.codehaus.org/browse/JETTY-1270, though the thread dumps do not seem to match.
Activity
Joakim Erdfelt
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Duplicate [ 3 ] | |
| Fix Version/s | 8.1.0 [ 17653 ] | |
| Fix Version/s | 7.6.0 [ 17652 ] | |
| Assignee | Joakim Erdfelt [ joakime ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
Duplicate of bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=367435
Fixed in Jetty 7.6.0 and 8.1.0 already.