]> git.ipfire.org Git - thirdparty/tornado.git/commit
iostream: Use recv_into and friends in read_from_fd
authorBen Darnell <ben@bendarnell.com>
Sun, 21 Jan 2018 00:00:30 +0000 (19:00 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 21 Jan 2018 03:15:30 +0000 (22:15 -0500)
commit1215cd2631fff0a7d93ad6e4c8f3f82f8f7bb3fa
tree5f200c6ba5d2f805b98adbadf4703aa06297ed5c
parent67abb73db1fed569ae14b9acb3be2bbd949ccba1
iostream: Use recv_into and friends in read_from_fd

This has the same memory-allocation behavior as before, but it moves
the buffer out of the recv() call to python code.
tornado/iostream.py