Skip to content

Conversation

robsdedude
Copy link
Member

When the connection to the server is lost during or right after sending HELLO, the driver will attempt to get the address from a closed socket which causes an OSError. There is no need to handle the raw socket after a successful handshake anyway as it will be wrapped in a BOLT connection object that already logs networks errors and takes care of the underlying socket.

@robsdedude robsdedude requested a review from technige April 7, 2021 15:40
@robsdedude robsdedude merged commit 6619a51 into neo4j:4.3 Apr 9, 2021
@robsdedude robsdedude deleted the fix-log-message-error-on-closed-socket branch April 9, 2021 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants