]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
10 years agoAdd a unit test for locale.format_day 1207/head
Lee Kyoung chan [Wed, 24 Sep 2014 12:37:37 +0000 (21:37 +0900)] 
Add a unit test for locale.format_day

10 years agoAdd a unit test for locale.list
Lee Kyoung chan [Tue, 23 Sep 2014 11:44:49 +0000 (20:44 +0900)] 
Add a unit test for locale.list

10 years agoAdd a unit test for locale.friendly_number
Lee Kyoung chan [Tue, 23 Sep 2014 10:35:13 +0000 (19:35 +0900)] 
Add a unit test for locale.friendly_number

10 years agoImprove test_format_date
Lee Kyoung chan [Tue, 23 Sep 2014 10:13:22 +0000 (19:13 +0900)] 
Improve test_format_date

10 years agocurl_httpclient: run streaming and header callbacks on the IOLoop.
Ben Darnell [Sun, 21 Sep 2014 16:25:11 +0000 (12:25 -0400)] 
curl_httpclient: run streaming and header callbacks on the IOLoop.

This ensures a more consistent execution environment and allows
a streaming or header callback to invoke other CurlAsyncHTTPClient
methods.

This change also fills in HTTPResponse.headers even when a header_callback
is used, similar to simple_httpclient's behavior.

Closes #1188.

10 years agoMove static functions in curl_httpclient to methods of CurlAsyncHTTPClient.
Ben Darnell [Sun, 21 Sep 2014 16:18:16 +0000 (12:18 -0400)] 
Move static functions in curl_httpclient to methods of CurlAsyncHTTPClient.

No functional changes in this commit, just code movement.

10 years agoDocument Tornado's incompatibility with asyncio.ProactorEventLoop.
Ben Darnell [Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)] 
Document Tornado's incompatibility with asyncio.ProactorEventLoop.

Closes #1201.

10 years agoMerge pull request #1197 from Parkayun/master
Ben Darnell [Thu, 18 Sep 2014 02:04:29 +0000 (22:04 -0400)] 
Merge pull request #1197 from Parkayun/master

Remove unused module in tornado.platform.asyncio

10 years agoMerge pull request #1194 from leekchan/test_if_modified_since
Ben Darnell [Tue, 16 Sep 2014 12:37:55 +0000 (08:37 -0400)] 
Merge pull request #1194 from leekchan/test_if_modified_since

Add a test for if_modified_since parameter of httpclient.HTTPRequest

10 years agoAdd a test for if_modified_since parameter of httpclient.HTTPRequest 1194/head
Lee Kyoung chan [Tue, 16 Sep 2014 07:48:34 +0000 (16:48 +0900)] 
Add a test for if_modified_since parameter of httpclient.HTTPRequest

10 years agoRemove unused module in tornado.platform.asyncio 1197/head
Parkayun [Tue, 16 Sep 2014 06:43:06 +0000 (15:43 +0900)] 
Remove unused module in tornado.platform.asyncio

10 years agoMerge remote-tracking branch 'leekchan/set_cookie_expires_days'
Ben Darnell [Tue, 16 Sep 2014 02:26:48 +0000 (22:26 -0400)] 
Merge remote-tracking branch 'leekchan/set_cookie_expires_days'

Conflicts:
tornado/test/web_test.py

10 years agoFixed test_set_cookie_expires_days 1187/head
Lee Kyoung chan [Tue, 16 Sep 2014 02:08:07 +0000 (11:08 +0900)] 
Fixed test_set_cookie_expires_days

10 years agoMerge pull request #1189 from Parkayun/master
Ben Darnell [Mon, 15 Sep 2014 23:38:20 +0000 (19:38 -0400)] 
Merge pull request #1189 from Parkayun/master

Add few tests and remove unused module.

10 years agoremove unused module in test 1189/head
Parkayun [Mon, 15 Sep 2014 10:10:37 +0000 (19:10 +0900)] 
remove unused module in test

10 years agoAdd test for httputil.parse_requset_start_line
Parkayun [Mon, 15 Sep 2014 09:54:48 +0000 (18:54 +0900)] 
Add test for httputil.parse_requset_start_line

10 years agoadd test for util.timedelta_to_seconds
Parkayun [Mon, 15 Sep 2014 06:55:35 +0000 (15:55 +0900)] 
add test for util.timedelta_to_seconds

10 years agoUpdate example for HTTPClient exception handling.
Ben Darnell [Mon, 15 Sep 2014 03:55:59 +0000 (23:55 -0400)] 
Update example for HTTPClient exception handling.

Eliminate the implication that HTTPError is the only
error that can be raised.  See #1168.

10 years agoHandle multiple exceptions in AsyncTestCase.
Ben Darnell [Mon, 15 Sep 2014 03:02:32 +0000 (23:02 -0400)] 
Handle multiple exceptions in AsyncTestCase.

Previously we would silently swallow all but the last; now we
raise the first and log all the rest.

Closes #1177.

10 years agoMerge pull request #1175 from virtuald/coroutine-warning
Ben Darnell [Mon, 15 Sep 2014 03:11:24 +0000 (23:11 -0400)] 
Merge pull request #1175 from virtuald/coroutine-warning

Add documentation warning about exceptions in coroutines

10 years agoMerge commit 'f40d39b'
Ben Darnell [Mon, 15 Sep 2014 02:39:03 +0000 (22:39 -0400)] 
Merge commit 'f40d39b'

10 years agoCapture stack context in gen.engine's wrapper function.
Ben Darnell [Mon, 15 Sep 2014 02:38:14 +0000 (22:38 -0400)] 
Capture stack context in gen.engine's wrapper function.

This was an error that went unnoticed in earlier versions
because Futures passed through exceptions in their callbacks.

10 years agoMerge branch 'branch4.0'
Ben Darnell [Mon, 15 Sep 2014 02:02:27 +0000 (22:02 -0400)] 
Merge branch 'branch4.0'

Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py

10 years agoMerge pull request #1185 from leekchan/master
Ben Darnell [Sun, 14 Sep 2014 13:40:26 +0000 (09:40 -0400)] 
Merge pull request #1185 from leekchan/master

Added unit tests for tornado.web.removeslash and tornado.web.addslash

10 years agoAdded a unit test for setting a cookie with expires_days 1186/head
Lee Kyoung chan [Sun, 14 Sep 2014 13:22:24 +0000 (22:22 +0900)] 
Added a unit test for setting a cookie with expires_days

10 years agoFixed some typos 1185/head
Lee Kyoung chan [Sun, 14 Sep 2014 09:47:10 +0000 (18:47 +0900)] 
Fixed some typos

10 years agoAdded unit tests for tornado.web.removeslash and tornado.web.addslash
Lee Kyoung chan [Sun, 14 Sep 2014 04:01:49 +0000 (13:01 +0900)] 
Added unit tests for tornado.web.removeslash and tornado.web.addslash

10 years agoMerge pull request #1179 from leekchan/master
Ben Darnell [Sat, 13 Sep 2014 21:44:55 +0000 (17:44 -0400)] 
Merge pull request #1179 from leekchan/master

Added a unit test for setting a cookie with max_age

10 years agoMerge pull request #1182 from Parkayun/master
Ben Darnell [Fri, 12 Sep 2014 13:20:54 +0000 (09:20 -0400)] 
Merge pull request #1182 from Parkayun/master

Add test for tornado.escape.recursive_unicode

10 years agoAdd callback error handling to Future 1183/head
Neilen Marais [Fri, 12 Sep 2014 11:38:48 +0000 (13:38 +0200)] 
Add callback error handling to Future

Catches and logs to the application log exceptions raised by each callback. This
more or less mirrors what concurrent.futures.Future does.

10 years agoAdd test for tornado.escape.recursive_unicode 1182/head
Parkayun [Fri, 12 Sep 2014 07:24:02 +0000 (16:24 +0900)] 
Add test for tornado.escape.recursive_unicode

10 years agoAdded a unit test for setting a cookie with max_age 1179/head
Lee Kyoung chan [Thu, 11 Sep 2014 13:16:44 +0000 (22:16 +0900)] 
Added a unit test for setting a cookie with max_age

10 years agoMerge pull request #1178 from leekchan/master
Ben Darnell [Thu, 11 Sep 2014 12:51:32 +0000 (08:51 -0400)] 
Merge pull request #1178 from leekchan/master

Fixed some typos

10 years agoAdded a unit test for tornado.escape.squeeze 1178/head
Lee Kyoung chan [Thu, 11 Sep 2014 11:49:05 +0000 (20:49 +0900)] 
Added a unit test for tornado.escape.squeeze

10 years agoFixed some typos
Lee Kyoung chan [Thu, 11 Sep 2014 05:37:43 +0000 (14:37 +0900)] 
Fixed some typos

10 years agoSet version number to 4.0.2 v4.0.2
Ben Darnell [Thu, 11 Sep 2014 03:47:51 +0000 (23:47 -0400)] 
Set version number to 4.0.2

10 years agoAdd documentation warning about exceptions in coroutines 1175/head
Dustin Spicuzza [Fri, 5 Sep 2014 15:57:15 +0000 (11:57 -0400)] 
Add documentation warning about exceptions in coroutines

10 years agoAdd release notes for 4.0.2.
Ben Darnell [Mon, 1 Sep 2014 15:12:27 +0000 (11:12 -0400)] 
Add release notes for 4.0.2.

10 years agoFix an erroneous return of None in IOStream.connect.
Ben Darnell [Mon, 1 Sep 2014 03:33:28 +0000 (23:33 -0400)] 
Fix an erroneous return of None in IOStream.connect.

This causes AttributeErrors in TCPClient, although I can only
reproduce this case reliably on freebsd.

Closes #1168.

10 years agoLimit the number of connections we will accept per call to accept_handler.
Ben Darnell [Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)] 
Limit the number of connections we will accept per call to accept_handler.

This ensures that other callbacks scheduled on the IOLoop have a chance
to run.  This shows up as increased memory usage in benchmark scenarios
(since 4.0 allowed simple http transactions to be processed synchronously).

10 years agoFix a subtle reference cycle that can lead to increased memory consumption.
Ben Darnell [Sat, 30 Aug 2014 19:27:31 +0000 (15:27 -0400)] 
Fix a subtle reference cycle that can lead to increased memory consumption.

Closes #1165.

10 years agoAdd missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
Eddie Mishelevich [Tue, 26 Aug 2014 14:04:06 +0000 (17:04 +0300)] 
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoFix an erroneous return of None in IOStream.connect.
Ben Darnell [Mon, 1 Sep 2014 03:33:28 +0000 (23:33 -0400)] 
Fix an erroneous return of None in IOStream.connect.

This causes AttributeErrors in TCPClient, although I can only
reproduce this case reliably on freebsd.

Closes #1168.

10 years agoModernize freebsd vagrant config.
Ben Darnell [Mon, 1 Sep 2014 03:32:41 +0000 (23:32 -0400)] 
Modernize freebsd vagrant config.

10 years agoLimit the number of connections we will accept per call to accept_handler.
Ben Darnell [Sun, 31 Aug 2014 02:52:54 +0000 (22:52 -0400)] 
Limit the number of connections we will accept per call to accept_handler.

This ensures that other callbacks scheduled on the IOLoop have a chance
to run.  This shows up as increased memory usage in benchmark scenarios
(since 4.0 allowed simple http transactions to be processed synchronously).

10 years agoFix a subtle reference cycle that can lead to increased memory consumption.
Ben Darnell [Sat, 30 Aug 2014 19:27:31 +0000 (15:27 -0400)] 
Fix a subtle reference cycle that can lead to increased memory consumption.

Closes #1165.

10 years agoReinstate the bytes_type alias in case anyone is depending on it.
Ben Darnell [Wed, 27 Aug 2014 02:42:14 +0000 (22:42 -0400)] 
Reinstate the bytes_type alias in case anyone is depending on it.

10 years agoMerge pull request #1166 from quatrix/master
Ben Darnell [Wed, 27 Aug 2014 02:39:50 +0000 (22:39 -0400)] 
Merge pull request #1166 from quatrix/master

Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoAdd missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient 1166/head
Eddie Mishelevich [Tue, 26 Aug 2014 14:04:06 +0000 (17:04 +0300)] 
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient

10 years agoMerge pull request #1162 from methane/remove-bytes-type
Ben Darnell [Tue, 26 Aug 2014 02:56:38 +0000 (22:56 -0400)] 
Merge pull request #1162 from methane/remove-bytes-type

Replace tornado.util.bytes_type to bytes

10 years agoReplace tornado.util.bytes_type to bytes 1162/head
INADA Naoki [Mon, 25 Aug 2014 05:56:49 +0000 (14:56 +0900)] 
Replace tornado.util.bytes_type to bytes

10 years agoFix a regression in gzip output for StaticFileHandler.
Ben Darnell [Sat, 23 Aug 2014 22:12:19 +0000 (18:12 -0400)] 
Fix a regression in gzip output for StaticFileHandler.

Streaming static responses confused the gzip output transform since
it could no longer set the correct outgoing content-length.  Now
it will fall back to chunked encoding in this case.

Closes #1156.

10 years agoFixed support for test generators
Niko Wilbert [Fri, 22 Aug 2014 08:48:42 +0000 (10:48 +0200)] 
Fixed support for test generators

This fixes the problem that AsyncTestCase no longer seemed to work with test generators (as supported by Nose, http://nose.readthedocs.org/en/latest/writing_tests.html#test-generators).

10 years agoFix a regression in which a timeout could fire after being cancelled.
Ben Darnell [Wed, 20 Aug 2014 03:01:28 +0000 (23:01 -0400)] 
Fix a regression in which a timeout could fire after being cancelled.

Closes #1148.

10 years agoSet version number in branch4.0 to 4.0.2.dev1
Ben Darnell [Sun, 24 Aug 2014 16:00:49 +0000 (12:00 -0400)] 
Set version number in branch4.0 to 4.0.2.dev1

10 years agoRemove the default facebook api key from the demo.
Ben Darnell [Sun, 24 Aug 2014 15:50:47 +0000 (11:50 -0400)] 
Remove the default facebook api key from the demo.

This app has apparently been deactivated by facebook.

Closes #1132.

10 years agos/SIGCHILD/SIGCHLD/ in docs.
Ben Darnell [Sun, 24 Aug 2014 15:45:41 +0000 (11:45 -0400)] 
s/SIGCHILD/SIGCHLD/ in docs.

10 years agoFix a regression in gzip output for StaticFileHandler.
Ben Darnell [Sat, 23 Aug 2014 22:12:19 +0000 (18:12 -0400)] 
Fix a regression in gzip output for StaticFileHandler.

Streaming static responses confused the gzip output transform since
it could no longer set the correct outgoing content-length.  Now
it will fall back to chunked encoding in this case.

Closes #1156.

10 years agoMerge pull request #1153 from nwilbert/patch-1
Ben Darnell [Sat, 23 Aug 2014 00:48:15 +0000 (20:48 -0400)] 
Merge pull request #1153 from nwilbert/patch-1

Fixed support for test generators

10 years agoFixed support for test generators 1153/head
Niko Wilbert [Fri, 22 Aug 2014 08:48:42 +0000 (10:48 +0200)] 
Fixed support for test generators

This fixes the problem that AsyncTestCase no longer seemed to work with test generators (as supported by Nose, http://nose.readthedocs.org/en/latest/writing_tests.html#test-generators).

10 years agoFix a regression in which a timeout could fire after being cancelled.
Ben Darnell [Wed, 20 Aug 2014 03:01:28 +0000 (23:01 -0400)] 
Fix a regression in which a timeout could fire after being cancelled.

Closes #1148.

10 years agoAdd property setter for RequestHandler.locale
Ben Darnell [Tue, 12 Aug 2014 13:50:02 +0000 (09:50 -0400)] 
Add property setter for RequestHandler.locale

10 years agoRemove entries from next.rst that made it in to v4.0.1.
Ben Darnell [Tue, 12 Aug 2014 13:17:49 +0000 (09:17 -0400)] 
Remove entries from next.rst that made it in to v4.0.1.

10 years agoMerge branch 'branch4.0'
Ben Darnell [Tue, 12 Aug 2014 13:17:01 +0000 (09:17 -0400)] 
Merge branch 'branch4.0'

Conflicts:
docs/releases.rst
setup.py
tornado/__init__.py

10 years agoSet version number to 4.0.1. v4.0.1
Ben Darnell [Tue, 12 Aug 2014 13:11:20 +0000 (09:11 -0400)] 
Set version number to 4.0.1.

10 years agoSpecify a non-zero port when testing localhost resolution.
Ben Darnell [Tue, 12 Aug 2014 12:51:27 +0000 (08:51 -0400)] 
Specify a non-zero port when testing localhost resolution.

Some getaddrinfo implementations (including OS X 10.6) fail
if we try to resolve port 0 without AI_PASSIVE.

Closes #1136.

10 years agoAdd release notes for 4.0.1 and update version number.
Ben Darnell [Sun, 10 Aug 2014 19:19:48 +0000 (15:19 -0400)] 
Add release notes for 4.0.1 and update version number.

10 years agoCorrectly handle 204 response codes that do not include a content-length.
Ben Darnell [Sun, 10 Aug 2014 18:02:39 +0000 (14:02 -0400)] 
Correctly handle 204 response codes that do not include a content-length.

If a server sends a 204 with no content-length we would wait for the server
to close the connection instead of ending the request (any such servers
are ignoring the "Connection: close" header we send, but apparently exist).

Move some content-length logic from simple_httpclient.py to http1connection.py.

Fix the client-side use of on_connection_close; this affects the
handling of any HTTPInputException.

This fixes regressions relative to Tornado 3.2.

Conflicts:
tornado/websocket.py

10 years agoFix an AttributeError in WebSocketClientConnection._on_close.
Ben Darnell [Sat, 9 Aug 2014 18:09:22 +0000 (14:09 -0400)] 
Fix an AttributeError in WebSocketClientConnection._on_close.

Fix an issue that was preventing this issue from showing up in my
tests.

Closes #1140.

10 years agoFix `IOStream' when callback function return `Future' and has
WEI Zhicheng [Thu, 7 Aug 2014 17:49:39 +0000 (01:49 +0800)] 
Fix `IOStream' when callback function return `Future' and has
`Exception' will silence ignore

10 years agoFix `PeriodicCallback' when callback function return `Future' and has
WEI Zhicheng [Wed, 6 Aug 2014 10:35:24 +0000 (18:35 +0800)] 
Fix `PeriodicCallback' when callback function return `Future' and has
`Exception' will silence ignore

10 years agoAdd missing return statements to call_at and call_later.
Ben Darnell [Fri, 18 Jul 2014 03:33:34 +0000 (23:33 -0400)] 
Add missing return statements to call_at and call_later.

Closes #1119.

10 years agoFall back to pure-python mode on any exception during the build.
Ben Darnell [Thu, 17 Jul 2014 00:23:42 +0000 (20:23 -0400)] 
Fall back to pure-python mode on any exception during the build.

Stop the futile process of trying to enumerate which kinds of exceptions
distutils may throw (the latest potential addition: ValueError).

Closes #1115.

10 years agoCorrectly handle 204 response codes that do not include a content-length.
Ben Darnell [Sun, 10 Aug 2014 18:02:39 +0000 (14:02 -0400)] 
Correctly handle 204 response codes that do not include a content-length.

If a server sends a 204 with no content-length we would wait for the server
to close the connection instead of ending the request (any such servers
are ignoring the "Connection: close" header we send, but apparently exist).

Move some content-length logic from simple_httpclient.py to http1connection.py.

Fix the client-side use of on_connection_close; this affects the
handling of any HTTPInputException.

This fixes regressions relative to Tornado 3.2.

10 years agoFix an AttributeError in WebSocketClientConnection._on_close.
Ben Darnell [Sat, 9 Aug 2014 18:09:22 +0000 (14:09 -0400)] 
Fix an AttributeError in WebSocketClientConnection._on_close.

Fix an issue that was preventing this issue from showing up in my
tests.

Closes #1140.

10 years agoMerge pull request #1142 from zhicheng/master
Ben Darnell [Sat, 9 Aug 2014 17:40:46 +0000 (13:40 -0400)] 
Merge pull request #1142 from zhicheng/master

Fix `IOStream' when callback function return `Future' and has `Exception' will silence ignore

11 years agoFix `IOStream' when callback function return `Future' and has 1142/head
WEI Zhicheng [Thu, 7 Aug 2014 17:49:39 +0000 (01:49 +0800)] 
Fix `IOStream' when callback function return `Future' and has
`Exception' will silence ignore

11 years agoMerge pull request #1 from tornadoweb/master
WEI Zhicheng [Thu, 7 Aug 2014 17:46:23 +0000 (01:46 +0800)] 
Merge pull request #1 from tornadoweb/master

update from upstream

11 years agoForgot to git add the new file.
Ben Darnell [Thu, 7 Aug 2014 03:03:27 +0000 (23:03 -0400)] 
Forgot to git add the new file.

11 years agoStart the next-release notes doc.
Ben Darnell [Thu, 7 Aug 2014 02:48:20 +0000 (22:48 -0400)] 
Start the next-release notes doc.

11 years agoMerge pull request #1138 from zhicheng/master
Ben Darnell [Thu, 7 Aug 2014 00:54:45 +0000 (20:54 -0400)] 
Merge pull request #1138 from zhicheng/master

Fix `PeriodicCallback' when callback function return `Future' and has

11 years agoFix `PeriodicCallback' when callback function return `Future' and has 1138/head
WEI Zhicheng [Wed, 6 Aug 2014 10:35:24 +0000 (18:35 +0800)] 
Fix `PeriodicCallback' when callback function return `Future' and has
`Exception' will silence ignore

11 years agoFix a memory leak and test timeout in websockets.
Ben Darnell [Tue, 5 Aug 2014 03:46:03 +0000 (23:46 -0400)] 
Fix a memory leak and test timeout in websockets.

In some cases (primarily when prepare() is asynchronous), an
HTTP1ServerConnection could be left waiting forever for a connection
to finish when that connection has been detached and handed off to a
WebSocketHandler.  This would manifest as a leak and a timeout in
tests as the HTTPServer waited for all its existing connections to
finish.

Also fix a bug in the test tearDown method that would actually
wait forever for connections to finish instead of timing out.

Closes #1133.

11 years agoSupport the max_wbits websocket deflate parameters.
Ben Darnell [Sun, 27 Jul 2014 22:29:06 +0000 (18:29 -0400)] 
Support the max_wbits websocket deflate parameters.

Slightly improve error handling in the websocket handshake.

11 years agoImplement permessage-deflate websocket extension.
Ben Darnell [Sun, 27 Jul 2014 05:26:11 +0000 (01:26 -0400)] 
Implement permessage-deflate websocket extension.

Parameters to the extension are not fully supported (the client side
supports client_no_context_takeover which is mandatory to implement,
but the server rejects any parameters offered by the client, and neither
side supports setting wbits).

Closes #308.
Closes #668.

11 years agoMerge branch 'branch4.0'
Ben Darnell [Sat, 26 Jul 2014 20:50:16 +0000 (16:50 -0400)] 
Merge branch 'branch4.0'

11 years agoExpand documentation of WebSocketHandler.check_origin.
Ben Darnell [Sat, 26 Jul 2014 20:48:38 +0000 (16:48 -0400)] 
Expand documentation of WebSocketHandler.check_origin.

Document the potential problems that arise with websockets and
self-signed certificates.

11 years agoImprove error handling during ssl handshake.
Ben Darnell [Fri, 25 Jul 2014 03:41:49 +0000 (23:41 -0400)] 
Improve error handling during ssl handshake.

Previously if do_handshake raised an error not in CONNRESET,
the socket would not be closed properly and the server would start
using 100% of the cpu.

Also handle EBADF errors from do_handshake without logging since
they can be generated by some modes of nmap scans.

11 years agoMerge pull request #1090 from tatiana/master
Ben Darnell [Fri, 25 Jul 2014 03:38:00 +0000 (23:38 -0400)] 
Merge pull request #1090 from tatiana/master

Improve curl_httpclient so it supports custom methods with payload.

11 years agoAdd "sudo: false" to .travis.yml in an attempt to stop the random build failures.
Ben Darnell [Fri, 25 Jul 2014 02:28:45 +0000 (22:28 -0400)] 
Add "sudo: false" to .travis.yml in an attempt to stop the random build failures.

11 years agoMerge branch 'branch4.0'
Ben Darnell [Fri, 25 Jul 2014 02:23:46 +0000 (22:23 -0400)] 
Merge branch 'branch4.0'

11 years agoFix a dangling reference to callback in chatdemo.py.
Ben Darnell [Fri, 25 Jul 2014 02:22:59 +0000 (22:22 -0400)] 
Fix a dangling reference to callback in chatdemo.py.

11 years agoMerge branch 'master' of github.com:tornadoweb/tornado 1090/head
Tatiana Al-Chueyr [Thu, 24 Jul 2014 19:30:36 +0000 (12:30 -0700)] 
Merge branch 'master' of github.com:tornadoweb/tornado

11 years agoCode cleanup with guided by @bdarnell at #1090
Tatiana Al-Chueyr [Thu, 24 Jul 2014 19:30:22 +0000 (12:30 -0700)] 
Code cleanup with guided by @bdarnell at #1090

11 years agoMerge pull request #1125 from duedil-ltd/chunked-encoding-keep-alive
Ben Darnell [Thu, 24 Jul 2014 02:27:08 +0000 (22:27 -0400)] 
Merge pull request #1125 from duedil-ltd/chunked-encoding-keep-alive

Fixed a bug with keep-alive chunked requests

11 years agoCite RFC 2730 when stripping extraneous line breaks.
Ben Darnell [Thu, 24 Jul 2014 02:24:04 +0000 (22:24 -0400)] 
Cite RFC 2730 when stripping extraneous line breaks.

11 years agoMerge pull request #1124 from duedil-ltd/non-rfc-crlf
Ben Darnell [Thu, 24 Jul 2014 02:22:36 +0000 (22:22 -0400)] 
Merge pull request #1124 from duedil-ltd/non-rfc-crlf

Support for non-RFC compliant header prefixes

11 years agoFix a potential leak of an unclosed AsyncHTTPClient.
Ben Darnell [Thu, 24 Jul 2014 02:18:27 +0000 (22:18 -0400)] 
Fix a potential leak of an unclosed AsyncHTTPClient.

11 years agoFixed a bug with keep-alive chunked requests 1125/head
Tom Arnfeld [Wed, 23 Jul 2014 17:27:03 +0000 (18:27 +0100)] 
Fixed a bug with keep-alive chunked requests

If you make a POST request with 'Connection: Keep-Alive' and use chunked body encoding, tornado will not interpret that as a connection that can be kept alive, and will close the connection.

11 years agoAdded a regression test for keep-alive chunked POST
Tom Arnfeld [Wed, 23 Jul 2014 17:26:50 +0000 (18:26 +0100)] 
Added a regression test for keep-alive chunked POST