Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Close sockets on timeouts

  • Loading branch information...
commit 6a9e494bd40d8cf523c423c736455377a0a2b9e6 1 parent 59531ba
@afeinberg afeinberg authored
View
3  src/java/voldemort/store/socket/clientrequest/ClientRequestExecutor.java
@@ -80,8 +80,7 @@ public synchronized boolean checkTimeout(SelectionKey selectionKey) {
if(logger.isEnabledFor(Level.WARN))
logger.warn("Client request associated with " + socketChannel.socket() + " timed out");
- completeClientRequest();
- selectionKey.interestOps(0);
+ close();
return false;
}
Please sign in to comment.
Something went wrong with that request. Please try again.