]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix zero-byte writes in IOStream.
authorBen Darnell <ben@bendarnell.com>
Tue, 25 Oct 2011 05:02:15 +0000 (22:02 -0700)
committerBen Darnell <ben@bendarnell.com>
Tue, 25 Oct 2011 05:02:15 +0000 (22:02 -0700)
commitbf7557191bc92d6b5c31212e012d2f64e818382d
tree5ec212d27925252bde9146baf729095c574d453d
parenta9e92e216d61d5cc314dc033d53e56f74009b098
Fix zero-byte writes in IOStream.

Previously zero-byte writes would cause the CPU to run at 100% and
would never call their callback (if any).
tornado/iostream.py
tornado/test/iostream_test.py