in common/src/main/java/org/mvndaemon/mvnd/common/DaemonConnection.java [93:113]
private static boolean isEndOfStream(Exception e) {
if (e instanceof EOFException) {
return true;
}
if (e instanceof IOException) {
if (Objects.equals(e.getMessage(), "An existing connection was forcibly closed by the remote host")) {
return true;
}
if (Objects.equals(
e.getMessage(), "An established connection was aborted by the software in your host machine")) {
return true;
}
if (Objects.equals(e.getMessage(), "Connection reset by peer")) {
return true;
}
if (Objects.equals(e.getMessage(), "Connection reset")) {
return true;
}
}
return false;
}