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

Enable custom trust validation #276

Merged
merged 1 commit into from
Oct 27, 2016
Merged

Enable custom trust validation #276

merged 1 commit into from
Oct 27, 2016

Conversation

profer
Copy link

@profer profer commented Oct 24, 2016

In my project I need to perform special trust validation that is not covered by the existing SSLSecurity class. I saw that pull Request #266 opened all classes for subclassing but does not allow overriding of any of the methods.
So I change WebSocket to use a new protocol - SSLTrustValidator - for trust validation instead of SSLSecurity directly. This allows users of Starscream to supply their own validation logic if needed.

Change WebSocket to use a protocol for trust validation instead of SSLSecurity directly. This allows users of Starscream to supply their own validation logic.
@daltoniam
Copy link
Owner

Make sense, I like it. Thanks!

@daltoniam daltoniam merged commit 22d57dc into daltoniam:master Oct 27, 2016
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