mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-27 05:30:53 +00:00
Since we are rebasing to at least Python 3.6, and with some extra ctypes wranging of the ssl context, we can likely remove PyOpenSSL. Take first steps by removing it from 'sockapi'. Have confluent executable become the 'top level' for eventlet, to allow work on 'de-eventleting' on 'main.py'. Rework tlvdata to deal with either a socket or a reader, writer tuple. Using TLS with asyncio is easiest with the 'open_connection' semantics, which force either a Protocol handler (callback based) or dual streams. While protocol approach ends with a more socket-like 'transport', the 'protocol' half is a bit unwieldy. So reader and writer streams instead.