Aymeric Augustin <aymeric.augus...@m4x.org> added the comment:

For now I will use the following hack:

    server.close()
    await server.wait_closed()

    # Workaround for wait_closed() not quite doing
    # what I want.
    await asyncio.sleep(0)

    # I believe that all accepted connections have reached
    # connection_made() at this point.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34852>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to