uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

fix Future exception never retrieved in create_connection

Open jensbjorgensen opened this issue 1 year ago • 0 comments

I also have observed that when I use asyncio.wait_for(...) around loop.create_connection in the timeout case I end up getting this logged to stdout(err?):

Future exception was never retrieved
future: <Future finished exception=gaierror(-2, 'Name or service not known')>
socket.gaierror: [Errno -2] Name or service not known

The code in this commit fixes this.

jensbjorgensen avatar Jan 17 '24 22:01 jensbjorgensen