Author pitrou
Recipients Elizacat, gc, gvanrossum, haypo, pitrou, yselivanov
Date 2015-04-27.20:10:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430165408.88.0.557404521916.issue23749@psf.upfronthosting.co.za>
In-reply-to
Content
So you need to:

- have an API to wrap a clear-text protocol in a SSL protocol (see e.g. BaseProactorEventLoop._make_ssl_transport()... note how there's a waiter argument, what should be done with that?)

- be able to replace a protocol with another on the transport (perhaps using a new, optional Transport API?)

- perhaps a higher-level API that combines the two

Also for convenience a protocol should probably be able to inspect whether it has *already* been wrapped.
History
Date User Action Args
2015-04-27 20:10:08pitrousetrecipients: + pitrou, gvanrossum, haypo, yselivanov, Elizacat, gc
2015-04-27 20:10:08pitrousetmessageid: <1430165408.88.0.557404521916.issue23749@psf.upfronthosting.co.za>
2015-04-27 20:10:08pitroulinkissue23749 messages
2015-04-27 20:10:08pitroucreate