This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, viocal, yselivanov
Date 2019-05-21.06:37:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558420657.85.0.551030698365.issue36981@roundup.psfhosted.org>
In-reply-to
Content
The correct approach is using Protocol.pause_writing() / Protocol.resume_writing() callbacks.
No trivial, though.
See `StreamWriter.drain()` for example of implementation.
History
Date User Action Args
2019-05-21 06:37:37asvetlovsetrecipients: + asvetlov, yselivanov, viocal
2019-05-21 06:37:37asvetlovsetmessageid: <1558420657.85.0.551030698365.issue36981@roundup.psfhosted.org>
2019-05-21 06:37:37asvetlovlinkissue36981 messages
2019-05-21 06:37:37asvetlovcreate