Andrew Svetlov <[email protected]> added the comment: `.read(-1)` reads up to end of stream (closing the underlying socket by peer).
If other side doesn't close connection after sending data -- read(-1) hangs, but it is not asyncio bug. ---------- nosy: +asvetlov resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue31059> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
