viocal <viocal at tom.com> added the comment: for buf in filedata: asc.resume_writing() asc.transport.write(buf) asc.pause_writing() ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue36981> _______________________________________