]> git.ipfire.org Git - thirdparty/tornado.git/commit
Use remove and add instead of update_handler in curl_httpclient.
authorBen Darnell <ben@bendarnell.com>
Sat, 25 May 2013 19:26:37 +0000 (15:26 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 25 May 2013 19:26:37 +0000 (15:26 -0400)
commit94198facc300623e05c7eb6465794c0635ecadfa
treef843a64b0d11f5688521d9fa3a418708d1659a75
parentec7fd4e5042070cb45613f585c196bd64cb6a793
Use remove and add instead of update_handler in curl_httpclient.

Curl sometimes fails to tell us that it has closed a socket
and reopened a new one with the same file descriptor, leading
to problems in some IOLoops.  This should fix the recurring problem
of update_handler errors in various less-common use cases.

Closes #801.
Closes #538.
tornado/curl_httpclient.py