Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove brackets from sni str to prevent endpoint.connect from getting… #55

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

yhtq
Copy link
Contributor

@yhtq yhtq commented Jul 28, 2024

When the client use an IPv6 address of server, endpoint.connect() would get an server_name like "[::1]" , recognize it as a hostname and throw an error. Now it will get "::1" and works correctly.

… wrong server_name when client uses ipv6 address
@oowl
Copy link
Owner

oowl commented Jul 28, 2024

Thx

@oowl oowl merged commit 205f0bc into oowl:master Jul 28, 2024
11 checks passed
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