Skip to content

Improve defunct socket detection - #1345

Open
robsdedude wants to merge 6 commits into
neo4j:6.xfrom
robsdedude:detect-closed-socket-reading-end
Open

robsdedude wants to merge 6 commits into
neo4j:6.xfrom
robsdedude:detect-closed-socket-reading-end

Conversation

@robsdedude

Copy link
Copy Markdown
Member

When picking up connections form the pool, the driver will now check whether the underlying socket's reading stream has been closed by the remote. If it has, the connection will be dropped instead of being used.

Closes: DRIVERS-502

When picking up connections form the pool, the driver will now check whether
the underlying socket's reading stream has been closed by the remote. If it has,
the connection will be dropped instead of being used.
@robsdedude
robsdedude marked this pull request as ready for review September 22, 2026 11:41
@robsdedude
robsdedude requested a review from MaxAake September 24, 2026 09:39

@MaxAake MaxAake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝

Comment thread src/neo4j/_async/io/_bolt.py Outdated

@MaxAake MaxAake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅

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