Skip to content

Conversation

seanmonstar
Copy link
Member

  • Don't allocate the error message field, it's always a static string (so far).
  • When connecting multiple addresses, return the first error as it's likely the most relevant.
  • Include the socket address in the connect error.

@seanmonstar seanmonstar merged commit fc1d699 into master May 27, 2025
16 checks passed
@seanmonstar seanmonstar deleted the connect-errors-improvements branch May 27, 2025 16:02
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