]> git.ipfire.org Git - thirdparty/tornado.git/commit
Fix ioloop._KQueue to work correctly when listening for both read and write.
authorBen Darnell <bdarnell@beaker.local>
Tue, 16 Feb 2010 20:47:32 +0000 (12:47 -0800)
committerBen Darnell <bdarnell@beaker.local>
Tue, 16 Feb 2010 20:53:23 +0000 (12:53 -0800)
commit15ceda22784752436f96d7af254705010177ae0c
tree6d38a6a0f62ba1935213660f3e3d5445236ea919
parentef83f4b6cafabbc3183db061c03faf5cf58d6808
Fix ioloop._KQueue to work correctly when listening for both read and write.

kqueue.control must be called separately for each type of filter, not just
once with the filters or'd together.

Fixes http://github.com/facebook/tornado/issues/issue/59/
Change adapted from
http://github.com/weaver/tornado/commit/97e528cf6b92bbb590579864962e2d51c22202e0
tornado/ioloop.py