Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

This commit is contained in:
Eddie Mishelevich 2014-08-26 17:04:06 +03:00 committed by Ben Darnell
parent d9689739fe
commit fc9a3acdb4
1 changed files with 1 additions and 0 deletions

View 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):