Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
prepare 5.0.1 release (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaunchDarklyCI authored Jun 19, 2020
1 parent 89e5bd1 commit 1a1e622
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.junit.Before;
import org.junit.Test;

import java.io.EOFException;
import java.io.IOException;
import java.net.URI;
import java.time.Duration;
Expand Down Expand Up @@ -826,7 +827,9 @@ static class ConnectionErrorSink implements ConnectionErrorHandler {
final BlockingQueue<Throwable> errors = new LinkedBlockingQueue<>();

public Action onConnectionError(Throwable t) {
errors.add(t);
if (!(t instanceof EOFException)) {
errors.add(t);
}
return Action.SHUTDOWN;
}
}
Expand Down

0 comments on commit 1a1e622

Please sign in to comment.