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.1.0b1~101^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1166%2Fhead;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 781ca0173..f0f73fa0c 100644 --- a/tornado/simple_httpclient.py +++ b/tornado/simple_httpclient.py @@ -219,6 +219,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):