From fc9a3acdb40ff72dc81cb78be57c2adbe56ff04b Mon Sep 17 00:00:00 2001 From: Eddie Mishelevich Date: Tue, 26 Aug 2014 17:04:06 +0300 Subject: [PATCH] Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient --- tornado/simple_httpclient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tornado/simple_httpclient.py b/tornado/simple_httpclient.py index 516dc20b..679e7e76 100644 --- a/tornado/simple_httpclient.py +++ b/tornado/simple_httpclient.py @@ -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):