Skip to content

Identity conflict: verify connection is usable#153

Merged
sirn-se merged 2 commits into
v3.7-mainfrom
identity-conflict
May 15, 2026
Merged

Identity conflict: verify connection is usable#153
sirn-se merged 2 commits into
v3.7-mainfrom
identity-conflict

Conversation

@sirn-se
Copy link
Copy Markdown
Owner

@sirn-se sirn-se commented May 14, 2026

Possible fix for behavior indicated in #152 concerning identify conflicts.

As identity is generated using socket ports there should not be any conflict for active connections. However, if a socket is closed but not properly unregistered from the listener this may occur.
I haven't found out what can cause closed sockets to remain registered. This PR rather adds a safeguard, checking if socket is readable and removes the previously registered if closed, so the conflict no longer occur.

Closing #152

@sirn-se sirn-se self-assigned this May 14, 2026
@sirn-se sirn-se merged commit b96b01b into v3.7-main May 15, 2026
18 checks passed
@sirn-se sirn-se deleted the identity-conflict branch May 15, 2026 14:39
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.

1 participant