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

Add option to configure TLS server name indication (SNI) #1669

Merged
merged 1 commit into from Nov 9, 2022
Merged

Add option to configure TLS server name indication (SNI) #1669

merged 1 commit into from Nov 9, 2022

Conversation

Alvenix
Copy link
Contributor

@Alvenix Alvenix commented Nov 6, 2022

Is this feature acceptable?

I could use this feature to workaround this issue. If this feature is acceptable I will clean the code, add docs and tests if needed.

@seanmonstar
Copy link
Owner

Is it an option that would work with rustls too?

@Alvenix
Copy link
Contributor Author

Alvenix commented Nov 6, 2022

Is it an option that would work with rustls too?

Oh yes it should be (I edited the commit to include rustls). If this feature is acceptable I will recheck the code a bit later to ensure it is correct, because I am not sure if the current code cover all the tls features. I will also need to add to the blocking client too.

@Alvenix
Copy link
Contributor Author

Alvenix commented Nov 7, 2022

Is there anything I should add? I searched for tests for disabling certificate validation and there weren't any I could find, so I did not add test for this feature. I have tested the feature manually and it provides a workaround for issue 1328.

Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@Alvenix
Copy link
Contributor Author

Alvenix commented Nov 8, 2022

LGTM, thank you!

CI check for styling failed and I fixed it hope that is okay.

@seanmonstar seanmonstar merged commit e302f75 into seanmonstar:master Nov 9, 2022
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.

None yet

2 participants