]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
authorEddie Mishelevich <evil.legacy@gmail.com>
Tue, 26 Aug 2014 14:04:06 +0000 (17:04 +0300)
committerBen Darnell <ben@bendarnell.com>
Mon, 1 Sep 2014 14:44:45 +0000 (10:44 -0400)
tornado/simple_httpclient.py

index 516dc20b6ae29a6624f71ce04d3024fa4d001b82..679e7e7698a1a98e8919c1c14e24e1eed1856e68 100644 (file)
@@ -222,6 +222,7 @@ class _HTTPConnection(httputil.HTTPMessageDelegate):
                     stack_context.wrap(self._on_timeout))
             self.tcp_client.connect(host, port, af=af,
                                     ssl_options=ssl_options,
+                                    max_buffer_size=self.max_buffer_size,
                                     callback=self._on_connect)
 
     def _get_ssl_options(self, scheme):