Author yselivanov
Recipients Elizacat, alex.gronholm, asvetlov, gc, gvanrossum, haypo, msornay, yselivanov
Date 2015-10-26.20:19:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445890761.24.0.781386683195.issue23749@psf.upfronthosting.co.za>
In-reply-to
Content
Guido, Victor,

Please find attached a first draft of the patch.  It's a very early attempt (i.e. I'm not including unit tests/docstrings), and its primary purpose is to gather initial feedback.

Some points:

1. As discussed earlier, the primary API point is new transports.TLSTransport class with a `start_tls(sslcontetx, *, server_side=False, server_hostname=None)` method.

2. While experimenting with the code and unit tests, I thought that it would be great if stream writers could do start_tls too, this patch has that too.  I like this new idea -- makes it so much simpler to write protocols.
History
Date User Action Args
2015-10-26 20:19:21yselivanovsetrecipients: + yselivanov, gvanrossum, haypo, asvetlov, alex.gronholm, msornay, Elizacat, gc
2015-10-26 20:19:21yselivanovsetmessageid: <1445890761.24.0.781386683195.issue23749@psf.upfronthosting.co.za>
2015-10-26 20:19:21yselivanovlinkissue23749 messages
2015-10-26 20:19:21yselivanovcreate