]> git.ipfire.org Git - thirdparty/tornado.git/commit
Use a WeakKeyDictionary instead of a regular dictionary to associate
authorBen Darnell <bdarnell@beaker.local>
Thu, 4 Mar 2010 19:52:18 +0000 (11:52 -0800)
committerBen Darnell <bdarnell@beaker.local>
Thu, 4 Mar 2010 19:52:18 +0000 (11:52 -0800)
commitf4359bc12864f0c5dd5d4f92403c8c19c34e5f8c
tree2294e2e68159eb30ccce1170dd5fd9a4c2537e27
parentd42334e3197680e988805c8201fcc6f09abb1366
Use a WeakKeyDictionary instead of a regular dictionary to associate
IOLoop and AsyncHTTPClients.  This prevents leaks of memory and file
descriptors when one process (in my case a unit test runner) create
many IOLoop/AsyncHTTPClient pairs.
tornado/httpclient.py