Thanks for the quidance.

selector_events.py : _SelectorSslTransport : __init__ wraps the socket
and postpones handshake. There is not much asyncio terms here..

Then it delegates to '_on_handshake' which has much of the asyncio stuff..
However, 'Under the hood' modification you've pointed is probably
beyond my abilities.

Actually I'm still thinking in terms of Streams, because they make life
easier.

Parallel to above partitioning I guess we need something like this:

sStream = ssl_wrap(Stream)
yield from sStream.do_handshake()

Regards,
Imran

Reply via email to