Adding logging on read timeout
This commit is contained in:
parent
3e2aee293e
commit
1b6d919d8c
|
@ -353,6 +353,14 @@ public abstract class AbstractWebSocketConnection extends AbstractConnection imp
|
|||
fillInterested();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean onReadTimeout()
|
||||
{
|
||||
LOG.debug("Read Timeout. disconnecting connection");
|
||||
// TODO: notify end user websocket of read timeout?
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue internal frame from {@link OutgoingFrames} stack for eventual write out on the physical connection.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue