]> git.ipfire.org Git - thirdparty/tornado.git/commit
Track SSL handshake state separately from calling _add_io_state directly.
authorBen Darnell <ben@bendarnell.com>
Sat, 19 Feb 2011 23:39:27 +0000 (15:39 -0800)
committerBen Darnell <ben@bendarnell.com>
Sat, 19 Feb 2011 23:39:27 +0000 (15:39 -0800)
commitd470b359853b9f034e997109b231914731789904
treef1bb1acf97d187cf7dba3c11c6bf62a8447753c4
parent5b8b935ed9d0c5c6ec8cdf91204d14a7bf73c32e
Track SSL handshake state separately from calling _add_io_state directly.

Calling _add_io_state would set a flag that immediately gets overwritten
in _handle_events when it sees that the application-level read/write
operations are idle.  This happens to work with kqueue but not with epoll.
tornado/iostream.py