Message253496
| Author | yselivanov |
|---|---|
| Recipients | Elizacat, alex.gronholm, asvetlov, gc, gvanrossum, msornay, vstinner, 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: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 | |