Author asvetlov
Recipients asvetlov, yselivanov
Date 2019-05-05.13:44:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557063872.25.0.865813796999.issue36801@roundup.psfhosted.org>
In-reply-to
Content
Now `await writer.drain()` performs `await sleep(0)` if underlying transport is closing.

It works well only for plain sockets. SSL transport needs more context switches to shut down the SSL connection.
Drain wakes up too early to check if the transport is actually closed.
History
Date User Action Args
2019-05-05 13:44:32asvetlovsetrecipients: + asvetlov, yselivanov
2019-05-05 13:44:32asvetlovsetmessageid: <1557063872.25.0.865813796999.issue36801@roundup.psfhosted.org>
2019-05-05 13:44:32asvetlovlinkissue36801 messages
2019-05-05 13:44:32asvetlovcreate