Adding logging on read timeout

This commit is contained in:
Joakim Erdfelt 2012-10-23 15:29:07 -07:00
parent 3e2aee293e
commit 1b6d919d8c
1 changed files with 8 additions and 0 deletions

View File

@ -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.
*/