mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 10:58:30 +00:00
We need to catch SocketException as this can be thrown during the handshake we expect to fail if the server closes the socket during the handshake. Closes elastic/elasticsearch#2378 Original commit: elastic/x-pack-elasticsearch@45c4b93ab6