Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.14.0, 1.15.0
-
None
-
None
Description
BackwardCompatibilityHigherVersionClientDUnitTest.testHigherVersionedClient() fails on Windows.
When a server receives a connection request with an unrecognized client version, it sends an informative reply and immediately closes the socket.
In this situation, the client wants to throw a ServerRefusedConnectionException with a message that includes the server's informative reply.
On Windows, when the client attempts to read the server's reply, the socket throws a SocketException with the message "Connection reset". Further up the call stack, ConnectionFactoryImpl.createClientToServerConnection() quietly discards this exception. As a result, the caller never receives the informative ServerRefusedConnectionException.