Author yselivanov
Recipients Elizacat, alex.gronholm, asvetlov, gc, gvanrossum, haypo, msornay, yselivanov
Date 2015-10-26.20:22:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1445890933.19.0.279188239719.issue23749@psf.upfronthosting.co.za>
In-reply-to
Content
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)))
History
Date User Action Args
2015-10-26 20:22:13yselivanovsetrecipients: + yselivanov, gvanrossum, haypo, asvetlov, alex.gronholm, msornay, Elizacat, gc
2015-10-26 20:22:13yselivanovsetmessageid: <1445890933.19.0.279188239719.issue23749@psf.upfronthosting.co.za>
2015-10-26 20:22:13yselivanovlinkissue23749 messages
2015-10-26 20:22:13yselivanovcreate