]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove a special case that avoided using curl in tests for HTTPS.
authorBen Darnell <ben@bendarnell.com>
Mon, 9 Mar 2015 02:04:59 +0000 (22:04 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 9 Mar 2015 02:04:59 +0000 (22:04 -0400)
This problem should have long since been fixed; any problematic
configurations don't deserve to misleadingly pass the tests.

tornado/testing.py

index 3d3bcf72b974d9cc0f8231982da00fef19766894..93f0dbe14196569f467b015789140e88eae4a8fc 100644 (file)
@@ -417,10 +417,8 @@ class AsyncHTTPSTestCase(AsyncHTTPTestCase):
     Interface is generally the same as `AsyncHTTPTestCase`.
     """
     def get_http_client(self):
-        # Some versions of libcurl have deadlock bugs with ssl,
-        # so always run these tests with SimpleAsyncHTTPClient.
-        return SimpleAsyncHTTPClient(io_loop=self.io_loop, force_instance=True,
-                                     defaults=dict(validate_cert=False))
+        return AsyncHTTPClient(io_loop=self.io_loop, force_instance=True,
+                               defaults=dict(validate_cert=False))
 
     def get_httpserver_options(self):
         return dict(ssl_options=self.get_ssl_options())