-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
the current async implementation of pyopenssl_context uses an explicit asyncio loop. This is discouraged by best async practices and should be avoided whenever possible. We should also avoid using threads, as doing so would not scale with more connections being opened.
Aioopenssl's implementation avoids using an explicit loop. We should follow their example for our own implementation.
Definition of done
A working async pyopenssl_context implementation that does not use an explicit asyncio loop.
Pitfalls
The implementation must not block the asyncio loop.