From: Eddie Mishelevich Date: Tue, 26 Aug 2014 14:04:06 +0000 (+0300) Subject: Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient X-Git-Tag: v4.0.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9a3acdb40ff72dc81cb78be57c2adbe56ff04b;p=thirdparty%2Ftornado.git Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient --- diff --git a/tornado/simple_httpclient.py b/tornado/simple_httpclient.py index 516dc20b6..679e7e769 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):