Elffuss BraidHub

kikocis/java-driver public

Merge pull request #227 from minimarcel/1.0

cancel timeout before invoking callback.onException
Changeset24f87d01de9a3a066b569f9a3d027da883f91f3126391e28a6a68cb419edbe00
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2014-09-23 10:29 +02:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2014-09-23 10:29 +02:00
Parents559b34e0a81e, 30f6334ebac4

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +1 −0
@@ -587,6 +587,7 @@
587587 while (iter.hasNext())
588588 {
589589 ResponseHandler handler = iter.next();
590+ handler.cancelTimeout();
590591 handler.callback.onException(Connection.this, ce, System.nanoTime() - handler.startTime);
591592 iter.remove();
592593 }