Skip to content

Conversation

@nkaradzhov
Copy link
Collaborator

Description

Fixes race condition where async socket errors during connection handshake don't trigger reconnection. Validates socket state after initiator completes to catch errors swallowed by command handlers.

fixes: #3108

Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?

…shake

Fixes race condition where async socket errors during connection
handshake don't trigger reconnection. Validates socket state after
initiator completes to catch errors swallowed by command handlers.

fixes: redis#3108
@nkaradzhov nkaradzhov merged commit f8841c8 into redis:master Nov 10, 2025
17 checks passed
@nkaradzhov nkaradzhov mentioned this pull request Nov 11, 2025
3 tasks
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.

Redis client stucks in reconnection loop

2 participants