]> git.ipfire.org Git - thirdparty/tornado.git/log
thirdparty/tornado.git
10 years agoMerge pull request #1227 from jvetterick/patch-1 1289/head
Ben Darnell [Mon, 27 Oct 2014 01:16:41 +0000 (21:16 -0400)] 
Merge pull request #1227 from jvetterick/patch-1

adding hint to supervisord minfds

10 years agoadding hint to supervisord minfds 1227/head
Jonas Vetterick [Mon, 20 Oct 2014 15:07:07 +0000 (17:07 +0200)] 
adding hint to supervisord minfds

10 years agoMerge pull request #1225 from jvetterick/patch-1
Ben Darnell [Sat, 18 Oct 2014 15:48:00 +0000 (11:48 -0400)] 
Merge pull request #1225 from jvetterick/patch-1

Update running.rst

10 years agoUpdate running.rst 1225/head
Jonas Vetterick [Fri, 17 Oct 2014 14:12:05 +0000 (16:12 +0200)] 
Update running.rst

Hint on [Errno 24] "Too many open files" (http://stackoverflow.com/a/20894374)

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 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 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 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 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.

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 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 pull request #1120 from Mouchh/patch-1
Ben Darnell [Sat, 19 Jul 2014 02:09:11 +0000 (22:09 -0400)] 
Merge pull request #1120 from Mouchh/patch-1

Typing error

11 years agoTyping error 1120/head
Cyril Mouchel [Fri, 18 Jul 2014 17:21:35 +0000 (19:21 +0200)] 
Typing error

11 years agoFix example in docs.
Ben Darnell [Wed, 16 Jul 2014 02:47:21 +0000 (22:47 -0400)] 
Fix example in docs.

11 years agoSet version number to 4.0 v4.0.0
Ben Darnell [Tue, 15 Jul 2014 12:42:27 +0000 (08:42 -0400)] 
Set version number to 4.0

11 years agoMove next.rst to 4.0.0.rst
Ben Darnell [Tue, 15 Jul 2014 12:41:54 +0000 (08:41 -0400)] 
Move next.rst to 4.0.0.rst

11 years agoDrop the 3.2-era "upgrade notes" from the homepage.
Ben Darnell [Tue, 15 Jul 2014 01:18:42 +0000 (21:18 -0400)] 
Drop the 3.2-era "upgrade notes" from the homepage.

The need to install dependencies is well-established by now.

11 years agoReorganize top-level doc navigation.
Ben Darnell [Tue, 15 Jul 2014 01:14:01 +0000 (21:14 -0400)] 
Reorganize top-level doc navigation.

11 years agoFlatten doc navigation
Ben Darnell [Tue, 15 Jul 2014 01:05:33 +0000 (21:05 -0400)] 
Flatten doc navigation

sphinx_rtd_theme's sidebar will not go deeper than two levels
in the table of contents, so remove the extra index->documentation
indirection.

11 years agoAdd a Highlights section to the 4.0 release notes.
Ben Darnell [Mon, 14 Jul 2014 14:05:11 +0000 (10:05 -0400)] 
Add a Highlights section to the 4.0 release notes.

11 years agoUpdate gen docs: deemphasize Task, Callback, and Wait.
Ben Darnell [Sun, 13 Jul 2014 22:19:29 +0000 (18:19 -0400)] 
Update gen docs: deemphasize Task, Callback, and Wait.

11 years agoInstall sphinx_rtd_theme when running sphinx tests.
Ben Darnell [Sun, 13 Jul 2014 03:07:01 +0000 (23:07 -0400)] 
Install sphinx_rtd_theme when running sphinx tests.

11 years agoUse sphinx_rtd_theme instead of our lightly-customized version of sphinx default.
Ben Darnell [Sun, 13 Jul 2014 02:57:16 +0000 (22:57 -0400)] 
Use sphinx_rtd_theme instead of our lightly-customized version of sphinx default.

The main benefit of this change is the responsive layout for phones and
tablets.

11 years agoMerge pull request #1107 from ajdavis/patch-3
Ben Darnell [Sun, 13 Jul 2014 02:40:32 +0000 (22:40 -0400)] 
Merge pull request #1107 from ajdavis/patch-3

Properly restore ASYNC_TEST_TIMEOUT after test.

11 years agoMerge pull request #1106 from ajdavis/patch-2
Ben Darnell [Sun, 13 Jul 2014 02:39:31 +0000 (22:39 -0400)] 
Merge pull request #1106 from ajdavis/patch-2

Bugfix in asynchronous_fetch example code.

11 years agoMerge pull request #1105 from ajdavis/patch-1
Ben Darnell [Sun, 13 Jul 2014 02:39:15 +0000 (22:39 -0400)] 
Merge pull request #1105 from ajdavis/patch-1

Complete the Motor example.

11 years agoProperly restore ASYNC_TEST_TIMEOUT after test. 1107/head
A. Jesse Jiryu Davis [Sat, 12 Jul 2014 18:25:13 +0000 (14:25 -0400)] 
Properly restore ASYNC_TEST_TIMEOUT after test.

11 years agoBugfix in asynchronous_fetch example code. 1106/head
A. Jesse Jiryu Davis [Fri, 11 Jul 2014 17:05:18 +0000 (13:05 -0400)] 
Bugfix in asynchronous_fetch example code.

11 years agoComplete the Motor example. 1105/head
A. Jesse Jiryu Davis [Fri, 11 Jul 2014 17:03:16 +0000 (13:03 -0400)] 
Complete the Motor example.

11 years agoMerge pull request #1101 from tioover/master
Ben Darnell [Thu, 10 Jul 2014 18:24:30 +0000 (14:24 -0400)] 
Merge pull request #1101 from tioover/master

typo

11 years agotypo 1101/head
Tengfei Tsui [Thu, 10 Jul 2014 09:15:43 +0000 (17:15 +0800)] 
typo

11 years agoSet version number to 4.0b3. v4.0.0b3
Ben Darnell [Wed, 9 Jul 2014 02:50:05 +0000 (22:50 -0400)] 
Set version number to 4.0b3.

11 years agoAdd XSRF change to the release notes.
Ben Darnell [Wed, 9 Jul 2014 02:49:30 +0000 (22:49 -0400)] 
Add XSRF change to the release notes.

11 years agoMerge remote-tracking branch 'tictail/branch3.2'
Ben Darnell [Wed, 9 Jul 2014 02:27:35 +0000 (22:27 -0400)] 
Merge remote-tracking branch 'tictail/branch3.2'

Closes #1097

11 years agoCatch `binascii.a2b_hex` errors on Python 3 1097/head
William Tisäter [Tue, 8 Jul 2014 13:52:25 +0000 (15:52 +0200)] 
Catch `binascii.a2b_hex` errors on Python 3

11 years agoDon't raise when failing to hex decode XSRF v1
William Tisäter [Tue, 8 Jul 2014 07:07:48 +0000 (09:07 +0200)] 
Don't raise when failing to hex decode XSRF v1

11 years agoTurn short and hex XSRF tests into success tests
William Tisäter [Tue, 8 Jul 2014 07:07:18 +0000 (09:07 +0200)] 
Turn short and hex XSRF tests into success tests

11 years agoRemove length requirement from v1 XSRF tokens
William Tisäter [Mon, 7 Jul 2014 21:29:44 +0000 (23:29 +0200)] 
Remove length requirement from v1 XSRF tokens

11 years agoFix outdated variable name in docs.
Ben Darnell [Sun, 6 Jul 2014 15:10:09 +0000 (11:10 -0400)] 
Fix outdated variable name in docs.

11 years agoAdd a test for exception in websocket callbacks.
Ben Darnell [Sat, 5 Jul 2014 22:49:36 +0000 (18:49 -0400)] 
Add a test for exception in websocket callbacks.

11 years agoRewrite chatdemo to use a coroutine instead of callbacks.
Ben Darnell [Sat, 5 Jul 2014 21:55:44 +0000 (17:55 -0400)] 
Rewrite chatdemo to use a coroutine instead of callbacks.

11 years agoMerge branch 'guide'
Ben Darnell [Fri, 4 Jul 2014 20:04:09 +0000 (16:04 -0400)] 
Merge branch 'guide'

* guide:
  Expand and rewrite the guide docs.
  Split overview.rst into separate files.

11 years agoExpand and rewrite the guide docs.
Ben Darnell [Mon, 30 Jun 2014 16:59:58 +0000 (12:59 -0400)] 
Expand and rewrite the guide docs.

11 years agoDisable twisted tests on pypy on travis-ci since they seem to be flaky.
Ben Darnell [Thu, 3 Jul 2014 02:01:22 +0000 (22:01 -0400)] 
Disable twisted tests on pypy on travis-ci since they seem to be flaky.

They were already disabled in tox.ini.

11 years agoAdd tests for both binary and unicode messages in websockets.
Ben Darnell [Thu, 3 Jul 2014 02:00:14 +0000 (22:00 -0400)] 
Add tests for both binary and unicode messages in websockets.

11 years agoMerge branch 'master' of github.com:tornadoweb/tornado
Ben Darnell [Thu, 3 Jul 2014 01:37:19 +0000 (21:37 -0400)] 
Merge branch 'master' of github.com:tornadoweb/tornado

11 years agoMerge pull request #1091 from xose/patch-1
Ben Darnell [Thu, 3 Jul 2014 01:37:11 +0000 (21:37 -0400)] 
Merge pull request #1091 from xose/patch-1

Fix binary websocket connections

11 years agoFix binary websocket connections 1091/head
José Martínez [Wed, 2 Jul 2014 21:11:51 +0000 (23:11 +0200)] 
Fix binary websocket connections

11 years agoSet version number to 4.0b2 v4.0.0b2
Ben Darnell [Tue, 1 Jul 2014 12:37:02 +0000 (08:37 -0400)] 
Set version number to 4.0b2

11 years agoRename the new-in-4.0 gzip parameter to HTTPServer.
Ben Darnell [Tue, 1 Jul 2014 03:28:10 +0000 (23:28 -0400)] 
Rename the new-in-4.0 gzip parameter to HTTPServer.

All the gzip-related parameters are now explicit about whether
they compress or decompress and whether they apply to requests or
responses.  For all the parameters that existed prior to 4.0
the old names are accepted as well, but for the new ones in 4.0
we don't need to worry about backwards-compatibility.

This is motivated by the potential confusion around the use of
gzip as a parameter to the Application constructor to indicate
compression of responses and to the HTTPServer constructor to
indicate decompression of requests.

11 years agoSplit overview.rst into separate files.
Ben Darnell [Sat, 28 Jun 2014 22:40:55 +0000 (15:40 -0700)] 
Split overview.rst into separate files.

11 years agoMerge pull request #1084 from ukoethe/master
Ben Darnell [Thu, 26 Jun 2014 02:00:35 +0000 (19:00 -0700)] 
Merge pull request #1084 from ukoethe/master

check for errno.WSA* on 64-bit Windows (fixes #1052)

11 years agoAdd the start of a new user guide.
Ben Darnell [Wed, 25 Jun 2014 01:58:35 +0000 (18:58 -0700)] 
Add the start of a new user guide.

11 years agocheck for errno.WSA* on 64-bit Windows (fixes #1052) 1084/head
Ullrich Koethe [Mon, 23 Jun 2014 12:40:40 +0000 (14:40 +0200)] 
check for errno.WSA* on 64-bit Windows (fixes #1052)

11 years agoSet version number to 4.0b1 v4.0.0b1
Ben Darnell [Sat, 21 Jun 2014 20:02:18 +0000 (16:02 -0400)] 
Set version number to 4.0b1

11 years agoUpdate docs for deprecations and removals.
Ben Darnell [Sat, 21 Jun 2014 18:20:15 +0000 (14:20 -0400)] 
Update docs for deprecations and removals.

11 years agoDrop support for the draft76 version of WebSockets.
Ben Darnell [Sat, 21 Jun 2014 17:50:56 +0000 (13:50 -0400)] 
Drop support for the draft76 version of WebSockets.

Browsers that only support draft76 are now less common than those
that do not support websockets at all, so applications should
use their non-websocket workarounds for these browsers.

11 years agoEdit comments to discourage creation of new OutputTransforms.
Ben Darnell [Sat, 21 Jun 2014 17:37:59 +0000 (13:37 -0400)] 
Edit comments to discourage creation of new OutputTransforms.

11 years agoUpdate tests after the removal of get_error_html.
Ben Darnell [Sat, 21 Jun 2014 18:05:49 +0000 (14:05 -0400)] 
Update tests after the removal of get_error_html.

11 years agoIncrease the test timeout on travis.
Ben Darnell [Sat, 21 Jun 2014 17:34:03 +0000 (13:34 -0400)] 
Increase the test timeout on travis.

11 years agoRemove support for the old get_error_html function.
Ben Darnell [Sat, 21 Jun 2014 17:32:44 +0000 (13:32 -0400)] 
Remove support for the old get_error_html function.

11 years agoRemove workarounds for ancient versions of libcurl.
Ben Darnell [Sat, 21 Jun 2014 17:05:57 +0000 (13:05 -0400)] 
Remove workarounds for ancient versions of libcurl.

11 years agoAdd pypy3 to tox.ini.
Ben Darnell [Sat, 21 Jun 2014 16:47:40 +0000 (12:47 -0400)] 
Add pypy3 to tox.ini.

11 years agoRelease note updates.
Ben Darnell [Fri, 20 Jun 2014 04:37:11 +0000 (00:37 -0400)] 
Release note updates.

11 years agoAdd new exception tornado.web.Finish to quietly end a request.
Ben Darnell [Thu, 19 Jun 2014 13:28:45 +0000 (09:28 -0400)] 
Add new exception tornado.web.Finish to quietly end a request.

This allows error pages to be generated inline with the main code
instead of in write_error and is friendlier to generating error pages
from library code.

Closes #1064.

11 years agoIntroduce IOLoop.call_later and call_at.
Ben Darnell [Wed, 18 Jun 2014 14:29:28 +0000 (10:29 -0400)] 
Introduce IOLoop.call_later and call_at.

call_later is a less-verbose alternative to add_timeout with a
timedelta; call_at exists for symmetry.  Both are named after
methods on the asyncio event loop, although there are small
variations (we support both args and kwargs while asyncio only supports
args; we use remove_timeout(handle) instead of handle.cancel()).

Closes #1049.

11 years agoFix a leak in AsyncHTTPClient shutdown.
Ben Darnell [Tue, 17 Jun 2014 14:09:15 +0000 (10:09 -0400)] 
Fix a leak in AsyncHTTPClient shutdown.

Clients created without force_instance=True were never getting
GC'd because we were using the wrong reference for the async_clients
instance cache.

To guard against future errors, failure to remove an instance
from the cache when we expected to now raises an error instead of
failing silently.

Closes #1079.

11 years agoIntroduce IOLoop.spawn_callback.
Ben Darnell [Mon, 16 Jun 2014 03:49:39 +0000 (23:49 -0400)] 
Introduce IOLoop.spawn_callback.

This makes it easier and more discoverable to run a callback without
stack_context.

Closes #867.

11 years agoRename HTTP{In,Out}putException to HTTP{In,Out}putError.
Ben Darnell [Mon, 16 Jun 2014 03:39:00 +0000 (23:39 -0400)] 
Rename HTTP{In,Out}putException to HTTP{In,Out}putError.

This follows the standard python naming convention for exceptions.

11 years agoRelax restrictions on HTTP methods in WebSocketHandler.
Ben Darnell [Mon, 16 Jun 2014 03:35:02 +0000 (23:35 -0400)] 
Relax restrictions on HTTP methods in WebSocketHandler.

Methods like set_status are now disallowed once the websocket handshake
has begun, but may be used before then.  This applies to application
overrides of prepare() and to WebSocketHandler.get's internal error
handling.

Closes #1065.

11 years agoDocument that IOStream.connect blocks on DNS and recommend TCPClient instead.
Ben Darnell [Sun, 15 Jun 2014 17:36:10 +0000 (13:36 -0400)] 
Document that IOStream.connect blocks on DNS and recommend TCPClient instead.

Closes #861.

11 years agoAdd clearer message for fetch() on closed AsyncHTTPClient.
Ben Darnell [Sun, 15 Jun 2014 16:39:38 +0000 (12:39 -0400)] 
Add clearer message for fetch() on closed AsyncHTTPClient.

Closes #866.

11 years agoDocument AsyncHTTPClient's defaults argument.
Ben Darnell [Sun, 15 Jun 2014 16:36:28 +0000 (12:36 -0400)] 
Document AsyncHTTPClient's defaults argument.

Closes #762.

11 years agoImprove callback scheduling.
Ben Darnell [Sun, 15 Jun 2014 16:11:22 +0000 (12:11 -0400)] 
Improve callback scheduling.

Collect all timeouts to be run before running any of them; this
prevents starvation when a slow callback reschedules itself.

Call time() again before setting poll_timeout to avoid scheduling
anomalies with slow callbacks.

Closes #947.

11 years agoRemove async_callback wrapper functions, which have been obsolete since 1.1.
Ben Darnell [Sun, 15 Jun 2014 15:52:34 +0000 (11:52 -0400)] 
Remove async_callback wrapper functions, which have been obsolete since 1.1.

Closes #283.

11 years agoAdd ETIMEDOUT to the list of relatively benign unclean-close errnos.
Ben Darnell [Sun, 15 Jun 2014 15:33:46 +0000 (11:33 -0400)] 
Add ETIMEDOUT to the list of relatively benign unclean-close errnos.

11 years agoWhen a function on the IOLoop returns a Future, log its exception.
Ben Darnell [Sun, 15 Jun 2014 15:32:11 +0000 (11:32 -0400)] 
When a function on the IOLoop returns a Future, log its exception.

11 years agoThe next version will be 4.0, not 3.3, so update all references to 3.3.
Ben Darnell [Sat, 7 Jun 2014 15:22:58 +0000 (11:22 -0400)] 
The next version will be 4.0, not 3.3, so update all references to 3.3.

11 years agoBroaden catch clause in extension building.
Ben Darnell [Sat, 7 Jun 2014 15:08:52 +0000 (11:08 -0400)] 
Broaden catch clause in extension building.

This should allow Tornado to be installed again on OSX with no
compiler available.

Closes #1074.

11 years agoMerge branch 'master' of github.com:tornadoweb/tornado
Ben Darnell [Wed, 4 Jun 2014 04:04:26 +0000 (00:04 -0400)] 
Merge branch 'master' of github.com:tornadoweb/tornado

11 years agoMerge branch 'branch3.2'
Ben Darnell [Wed, 4 Jun 2014 03:48:51 +0000 (23:48 -0400)] 
Merge branch 'branch3.2'

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

11 years agoSet version number to 3.2.2 branch3.2 v3.2.2
Ben Darnell [Wed, 4 Jun 2014 03:30:18 +0000 (23:30 -0400)] 
Set version number to 3.2.2

11 years agoDocs for xsrf cookie change; 3.2.2 release notes.
Ben Darnell [Wed, 4 Jun 2014 03:16:00 +0000 (23:16 -0400)] 
Docs for xsrf cookie change; 3.2.2 release notes.

11 years agoMerge pull request #1069 from drewbrew/master
Ben Darnell [Tue, 3 Jun 2014 23:49:40 +0000 (19:49 -0400)] 
Merge pull request #1069 from drewbrew/master

ioloop.py: use itertools.count() as tiebreaker to preserve FIFO in case of tie

11 years agoioloop.py: use itertools.count() as tiebreaker to preserve FIFO in case of tie 1069/head
drewbrew [Tue, 3 Jun 2014 18:22:08 +0000 (13:22 -0500)] 
ioloop.py: use itertools.count() as tiebreaker to preserve FIFO in case of tie

Current implementation does not function as a FIFO.  When adding multiple
timeouts with the same deadline, order is currently consistently mangled in the
event of a garbage collect.

As suggested by Ben Darnell at
https://groups.google.com/forum/#!topic/python-tornado/w8aKm6ZabUQ/discussion,
we need to add a sequence number to the Timeout class to serve as tiebreaker.
This code uses the model suggested by
https://docs.python.org/2/library/heapq.html#priority-queue-implementation-notes,
which uses itertools.count() to serve as our counter.

11 years agoAdd threadedresolver configuration to tox.ini (it was already in travis)
Ben Darnell [Sun, 1 Jun 2014 22:45:10 +0000 (18:45 -0400)] 
Add threadedresolver configuration to tox.ini (it was already in travis)

11 years agoFix another ipv6 test that was flaky on travis due to port conflicts.
Ben Darnell [Sun, 1 Jun 2014 22:31:12 +0000 (18:31 -0400)] 
Fix another ipv6 test that was flaky on travis due to port conflicts.