Open andryyy opened 10 months ago
Set server_hostname for inbound (server side) SSLContext using SNI callback.
Can be used in tls2 handler like this:
print(ssl_socket.context.server_hostname)
If no SNI is available, server_hostname will remain None, no exceptions will be raised.
Set server_hostname for inbound (server side) SSLContext using SNI callback.
Can be used in tls2 handler like this:
If no SNI is available, server_hostname will remain None, no exceptions will be raised.