]> git.ipfire.org Git - thirdparty/tornado.git/commit
The RequestHandler.flush callback should be run even if there is no data.
authorBen Darnell <ben@bendarnell.com>
Thu, 19 Apr 2012 05:22:06 +0000 (22:22 -0700)
committerBen Darnell <ben@bendarnell.com>
Thu, 19 Apr 2012 05:22:06 +0000 (22:22 -0700)
commit351c3223f52124dadb135b629818cd5cec8a4065
tree0bc04051333d070a1b2d2f86cae1caa04a8809d5
parentb875a8b546e42843dabcb0ba96469d959b1ed7e0
The RequestHandler.flush callback should be run even if there is no data.

Also IOStream._try_inline_read needs the same fake-callback change
as _handle_read (I can't seem to come up with a good isolated test for this,
but it's tickled by the empty-flush test).

Closes #492.
tornado/iostream.py
tornado/test/web_test.py
tornado/web.py