Message253495
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. |
|
Date |
User |
Action |
Args |
2015-10-26 20:19:21 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, asvetlov, alex.gronholm, msornay, Elizacat, gc |
2015-10-26 20:19:21 | yselivanov | set | messageid: <1445890761.24.0.781386683195.issue23749@psf.upfronthosting.co.za> |
2015-10-26 20:19:21 | yselivanov | link | issue23749 messages |
2015-10-26 20:19:21 | yselivanov | create | |
|