Skip to content

Conversation

@yknoya
Copy link
Contributor

@yknoya yknoya commented Dec 19, 2025

Background

This PR is derived from #12729.
Since the changes in that PR mixed a bug fix and cleanup work, we decided to split them into two separate PRs.
This PR extracts and focuses on the cleanup portion.

The motivation for this cleanup is that pre-setting EIO in connect_result before a connection attempt is error-prone.
Instead, we want to set an error in connect_result only when a connection error actually occurs.
This work was triggered by the following review comment:
#12729 (comment)

Note

For the background on why EIO started being pre-set in connect_result before connection attempts, see #7580

Cleanup details

See the following comment for details:
#12729 (comment)

@yknoya yknoya marked this pull request as ready for review December 21, 2025 23:12
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