]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix test that depended on simple_httpclient implementation detail.
authorBen Darnell <ben@bendarnell.com>
Mon, 25 Jul 2011 02:23:38 +0000 (19:23 -0700)
committerBen Darnell <ben@bendarnell.com>
Mon, 25 Jul 2011 02:23:38 +0000 (19:23 -0700)
tornado/test/httpserver_test.py

index 2d06947182042b9672ca4b7d5df8b9a28913020e..804acdeb3cf2946489990062012af63b29efaeb9 100644 (file)
@@ -105,7 +105,7 @@ class HTTPConnectionTest(AsyncHTTPTestCase, LogTrapTestCase):
     def raw_fetch(self, headers, body):
         conn = RawRequestHTTPConnection(self.io_loop, self.http_client,
                                         httpclient.HTTPRequest(self.get_url("/")),
-                                        self.stop)
+                                        self.stop, 1024*1024)
         conn.set_request(
             b("\r\n").join(headers +
                            [utf8("Content-Length: %d\r\n" % len(body))]) +