]> git.ipfire.org Git - thirdparty/tornado.git/commit
Update the set of active file descriptors immediately after calling perform
authorBen Darnell <bdarnell@beaker.local>
Sat, 26 Jun 2010 23:00:26 +0000 (16:00 -0700)
committerBen Darnell <bdarnell@beaker.local>
Sat, 26 Jun 2010 23:00:26 +0000 (16:00 -0700)
commit52c378f7f8bcddbffa521bec93d02b61425f062b
tree58529d67b7d2184a822ee3cb5b0cf350cb547cc1
parent33c3f8d28bfda17e100a5d4f77880bd017e56807
Update the set of active file descriptors immediately after calling perform
instead of after running user callbacks, since those callbacks might have
started using file descriptors that were closed by curl in perform().

Thanks to David Novakovic for the fix.  Adapted from
http://github.com/dpnova/tornado/commit/6df99e948e0832c60966f7c34190de87af87ffc5
tornado/httpclient.py