Message253496
Here's an example client implementation with writer.start_tls() (taken from my debug code):
@asyncio.coroutine
def client(addr):
reader, writer = yield from asyncio.open_connection(
*addr, loop=loop)
print("CLIENT: ", (yield from reader.readexactly(4)))
writer.write(b'ehlo')
yield from writer.start_tls(sslctx)
# encrypted channel from this point
print("CLIENT: ", (yield from reader.readexactly(4))) |
|
Date |
User |
Action |
Args |
2015-10-26 20:22:13 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, asvetlov, alex.gronholm, msornay, Elizacat, gc |
2015-10-26 20:22:13 | yselivanov | set | messageid: <1445890933.19.0.279188239719.issue23749@psf.upfronthosting.co.za> |
2015-10-26 20:22:13 | yselivanov | link | issue23749 messages |
2015-10-26 20:22:13 | yselivanov | create | |
|