mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
add Socket closed
variant to NetworkExceptionHelper.isCloseConnectionException
This commit is contained in:
parent
95ae58b531
commit
8151224883
@ -58,6 +58,9 @@ public class NetworkExceptionHelper {
|
|||||||
if (e.getMessage().equals("Socket is closed")) {
|
if (e.getMessage().equals("Socket is closed")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (e.getMessage().equals("Socket closed")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user