-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
delay SSL socket wrapping #1504
Comments
Having to choose which client protocols will be able to handle SSL is annoying. Raising. |
2017-08-02 09:14:21: antoine uploaded file
|
2017-08-02 14:06:50: antoine uploaded file
|
2017-08-03 11:13:31: antoine commented
|
Helped by the information from Subclassing and built-in methods in Python, r16607 overrides the
There is a small cost associated with the extra @maxmylin: something to be aware of, feel free to just close. |
2017-08-04 17:59:17: maxmylyn commented
|
This would allow us to peek at the packet data and decide how to handle the client connection better, partially solving #1213#comment:5.
We would then know if we're dealing with a browser / websocket request or with a plain SSL + TCP client connection.
The
ssl=MODE
option could then be used forbind-ssl
sockets.The difficulty with this is to ensure that we always eventually wrap the socket with an SSL layer if the user selected
bind-ssl
and not allow plain TCP / HTTP.The text was updated successfully, but these errors were encountered: