]>
git.ipfire.org Git - thirdparty/tornado.git/log
Ben Darnell [Fri, 5 Jan 2018 03:44:17 +0000 (22:44 -0500)]
Release notes for 4.5.3
Ben Darnell [Mon, 28 Aug 2017 02:38:14 +0000 (22:38 -0400)]
Get tests passing on latest version of pypy3
Ben Darnell [Fri, 5 Jan 2018 14:59:00 +0000 (09:59 -0500)]
Update travis-ci python versions to match master.
2.7.8 is no longer available and "pypy3" is old and has
other issues.
Ben Darnell [Sun, 5 Nov 2017 15:38:03 +0000 (10:38 -0500)]
test: More robust ipv6 detection
There are many ways ipv6 can be disabled or broken (and it just
stopped working on travis-ci), so instead of checking flags like
socket.has_ipv6, attempt to actually bind to an ipv6 address.
Closes #2185
Ben Darnell [Sun, 5 Nov 2017 15:32:10 +0000 (10:32 -0500)]
testing: Connect to 127.0.0.1 instead of localhost
The servers used in tests are only listening for ipv4, not ipv6
(to avoid spurious firewall prompts on macos). In what is apparently
a recent macos change, connecting to `localhost` when the ipv6 port
is unbound now incurs a 200ms delay, slowing a full test run down
by a factor of 20.
Pierce Lopez [Sat, 30 Dec 2017 23:34:32 +0000 (18:34 -0500)]
fix HTTPInputError reference for improperly terminated chunked request
bug introduced in #2225
Pierce Lopez [Tue, 26 Dec 2017 03:11:26 +0000 (22:11 -0500)]
http: read final crlf of chunked requests
otherwise a subsequent request on the same connection
will fail to be parsed
thanks to @eeelin for the bug report
Antoine Pitrou [Sat, 21 Oct 2017 20:05:19 +0000 (22:05 +0200)]
Don't keep any reference to memoryviews
See https://github.com/tornadoweb/tornado/pull/2008 for reasons
why this might be necessary.
Antoine Pitrou [Sat, 21 Oct 2017 18:47:29 +0000 (20:47 +0200)]
Release memoryviews explicitly
See https://github.com/tornadoweb/tornado/pull/2008 for reasons why this
might be necessary.
Jungkook Park [Thu, 21 Sep 2017 17:14:51 +0000 (02:14 +0900)]
fix websocket handshake failure causes an exception
Min RK [Tue, 11 Jul 2017 10:07:34 +0000 (12:07 +0200)]
cast curl debug messages to str
since they come in as bytes on Python 3
Sebastien Boving [Wed, 5 Jul 2017 17:04:33 +0000 (10:04 -0700)]
Handle 1xx's along 204/304's
Sebastien Boving [Tue, 27 Jun 2017 16:35:55 +0000 (09:35 -0700)]
Do not send/expect Content-Length on 1xx
Ben Darnell [Sat, 20 May 2017 17:44:08 +0000 (13:44 -0400)]
options: Report redefinition errors when underscores are used
Fixes #2020
Ben Darnell [Sun, 27 Aug 2017 18:50:20 +0000 (14:50 -0400)]
Merge pull request #2143 from bdarnell/cherrypick-cloexec
Cherrypick FD_CLOEXEC change for 4.5.2
Ben Darnell [Sun, 27 Aug 2017 16:17:55 +0000 (12:17 -0400)]
Release version 4.5.2
Ben Darnell [Mon, 29 May 2017 00:10:01 +0000 (20:10 -0400)]
tcpclient,netutil: Set FD_CLOEXEC on all sockets created by Tornado
PR #1984 was based on the mistaken belief that we were already
doing this (and in python 3.4+, it's true, thanks to PEP 446). This
fixes a regression introduced in Tornado 4.5 in which autoreload would
leak file descriptors and leave client connections hanging.
Fixes #2057
Ben Darnell [Thu, 20 Apr 2017 15:39:58 +0000 (11:39 -0400)]
Fix header for 4.5.1 release notes
Ben Darnell [Thu, 20 Apr 2017 13:32:04 +0000 (09:32 -0400)]
Version 4.5.1
Ben Darnell [Thu, 20 Apr 2017 03:16:38 +0000 (23:16 -0400)]
Merge pull request #2019 from bdarnell/colorama-fix
log: Fix color logging detection
Ben Darnell [Thu, 20 Apr 2017 01:38:57 +0000 (21:38 -0400)]
log: Fix color logging detection
The previous logic would fail whenever curses is missing (which is
always true on windows, and is occasionally true on other platforms)
and colorama is installed but not initialized in this process (this is
a common occurrence for users of jupyter and ipython on windows).
Fixes #2013
Fixes #2015
Ben Darnell [Thu, 20 Apr 2017 01:35:38 +0000 (21:35 -0400)]
Merge pull request #2018 from aetherson/master
fix backwards compatibility of url_concat for args=None
Andy Anderson [Wed, 19 Apr 2017 15:43:43 +0000 (10:43 -0500)]
fix backwards compatibility of url_concat for args=None
Ben Darnell [Sun, 16 Apr 2017 23:46:22 +0000 (19:46 -0400)]
Set version to 4.5
Ben Darnell [Sat, 15 Apr 2017 20:51:00 +0000 (16:51 -0400)]
Merge pull request #2011 from bdarnell/websocket-render
websocket: Fix use of render_string in websocket handlers
Ben Darnell [Sat, 15 Apr 2017 16:53:28 +0000 (12:53 -0400)]
websocket: Fix use of render_string in websocket handlers
PR #1917 caused websocket connections to be "finished" early, which
broke the use of render_string by setting self.ui to None.
Fixes #2010
Ben Darnell [Sat, 15 Apr 2017 16:45:33 +0000 (12:45 -0400)]
Merge pull request #2009 from methane/travis
travis: fix using wrong Python version
Ben Darnell [Sat, 15 Apr 2017 15:03:21 +0000 (11:03 -0400)]
travis: Skip "nodeps" build on pypy3
virtualenv (or pip, or setuptools) no longer supports py32, so this
won't work until travis has pypy3 3.5 available.
INADA Naoki [Thu, 13 Apr 2017 02:21:32 +0000 (11:21 +0900)]
use new virtualenv
INADA Naoki [Thu, 13 Apr 2017 01:57:40 +0000 (10:57 +0900)]
travis: fix using wrong Python version
Ben Darnell [Tue, 11 Apr 2017 02:43:04 +0000 (22:43 -0400)]
Bump to 4.5b2, update release notes
Ben Darnell [Mon, 10 Apr 2017 13:13:16 +0000 (09:13 -0400)]
Merge pull request #2006 from bdarnell/cleanups
Cleanups from various linters
Ben Darnell [Mon, 10 Apr 2017 13:08:37 +0000 (09:08 -0400)]
Merge pull request #2005 from bdarnell/auth-facebook-expires
auth: Update, doc, and test the facebook session_expires field
Ben Darnell [Mon, 10 Apr 2017 03:18:31 +0000 (23:18 -0400)]
docs: Add uncovered function
Ben Darnell [Mon, 10 Apr 2017 03:18:18 +0000 (23:18 -0400)]
*: Fix pyflakes warnings
Ben Darnell [Mon, 10 Apr 2017 03:07:00 +0000 (23:07 -0400)]
*: Run the new autopep8
Mainly adds a bunch of blank lines.
Ben Darnell [Mon, 10 Apr 2017 03:04:28 +0000 (23:04 -0400)]
maint: Update requirements
Ben Darnell [Mon, 10 Apr 2017 02:54:34 +0000 (22:54 -0400)]
auth: Update, doc, and test the facebook session_expires field
This was recently broken by the move from url-encoding to json.
Closes #2001
Ben Darnell [Sun, 2 Apr 2017 20:46:51 +0000 (16:46 -0400)]
Merge pull request #1999 from bdarnell/tcpclient-test
tcpclient_test: Attempt to deflake on windows
Ben Darnell [Sun, 2 Apr 2017 14:52:43 +0000 (10:52 -0400)]
websocket: Impose a size limit on incoming websocket messages (#1997)
Ben Darnell [Sun, 2 Apr 2017 14:51:41 +0000 (10:51 -0400)]
tcpclient_test: Attempt to deflake on windows
It appears that on windows the client connect call can sometimes
succeed before the server has processed the request, so introduce
additional synchronization.
Ben Darnell [Sat, 1 Apr 2017 18:27:25 +0000 (14:27 -0400)]
Merge branch 'branch4.4'
Ben Darnell [Thu, 30 Mar 2017 13:17:36 +0000 (09:17 -0400)]
Version bump and release notes for 4.4.3
Dayne Jones [Thu, 30 Mar 2017 01:43:07 +0000 (21:43 -0400)]
auth: Facebook now returns auth tokens in json instead of url-encoded
Fixes #1992
Dayne Jones [Thu, 30 Mar 2017 01:43:07 +0000 (21:43 -0400)]
auth: Facebook now returns auth tokens in json instead of url-encoded
Fixes #1992
Ben Darnell [Mon, 27 Mar 2017 14:42:34 +0000 (10:42 -0400)]
Merge pull request #1989 from bdarnell/appveyor36
appveyor: Build for python 3.5 and 3.6
Ben Darnell [Sun, 26 Mar 2017 22:34:25 +0000 (18:34 -0400)]
appveyor: Build for python 3.5 and 3.6
Ben Darnell [Sun, 26 Mar 2017 21:10:47 +0000 (17:10 -0400)]
Release notes and doc updates for 4.5
Ben Darnell [Sun, 26 Mar 2017 18:56:25 +0000 (14:56 -0400)]
Merge pull request #1917 from retinator/master
Allow custom websocket upgrade response headers
Ben Darnell [Sun, 26 Mar 2017 18:55:15 +0000 (14:55 -0400)]
Merge pull request #1988 from bdarnell/subprocess-test-detail
process_test: Report more details when test_sigchild_signal fails
Ben Darnell [Sun, 26 Mar 2017 18:43:23 +0000 (14:43 -0400)]
Check in test script for circular references
From #1936
Ben Darnell [Sun, 26 Mar 2017 18:03:50 +0000 (14:03 -0400)]
Merge pull request #1936 from homm/break-circrefs
Break circular reference to exc_info when exception is thrown
Ben Darnell [Sun, 26 Mar 2017 18:03:38 +0000 (14:03 -0400)]
Merge pull request #1987 from bdarnell/iostream-orphan-future
Fix IOStream.write() to never orphan Future
Ben Darnell [Sun, 26 Mar 2017 17:46:36 +0000 (13:46 -0400)]
Merge pull request #1927 from minrk/copy-list-in-close
copy handler list in IOLoop.close(all_fds=True)
Ben Darnell [Sun, 26 Mar 2017 17:41:36 +0000 (13:41 -0400)]
Merge branch 'master' into master
Ben Darnell [Sun, 26 Mar 2017 17:13:27 +0000 (13:13 -0400)]
process_test: Report more details when test_sigchild_signal fails
This test occasionally fails on pypy on travis-ci.
Ben Darnell [Sun, 26 Mar 2017 17:10:24 +0000 (13:10 -0400)]
Merge pull request #1986 from bdarnell/yield-none-test
gen: Add tests for `yield None`
Antoine Pitrou [Mon, 14 Nov 2016 18:38:25 +0000 (19:38 +0100)]
Fix IOStream.write() to never orphan Future
The current behaviour is error-prone and makes it difficult to use the
Future-returning variant of IOStream.write(). This change makes sure
the returned Future is triggered as soon as the corresponding write
is issued.
Ben Darnell [Sun, 26 Mar 2017 16:20:14 +0000 (12:20 -0400)]
Merge pull request #1985 from bdarnell/websocket-convert-yielded
websocket: Avoid calling convert_yielded twice on the same object
Ben Darnell [Sun, 26 Mar 2017 16:17:12 +0000 (12:17 -0400)]
Merge pull request #1864 from leynos/master
Allow specificion of trusted downstream proxies for xheaders
Ben Darnell [Sun, 26 Mar 2017 15:57:09 +0000 (11:57 -0400)]
gen: Add tests for `yield None`
See #1716
Ben Darnell [Sun, 26 Mar 2017 15:46:00 +0000 (11:46 -0400)]
Merge pull request #1716 from seirl/master
gen: handle None in convert_yielded
Ben Darnell [Sun, 26 Mar 2017 15:17:03 +0000 (11:17 -0400)]
Merge pull request #1817 from mivade/colorama
Enable color logging on Windows via colorama
Ben Darnell [Sun, 26 Mar 2017 15:16:19 +0000 (11:16 -0400)]
Merge pull request #1972 from andreasrosdal/master
Add compression_level and mem_level to WebSocketHandler.get_compression_options()
Ben Darnell [Sun, 26 Mar 2017 15:14:40 +0000 (11:14 -0400)]
Merge pull request #1984 from bdarnell/autoreload-no-close
autoreload: Don't close the IOLoop on reload
Ben Darnell [Sun, 26 Mar 2017 15:12:37 +0000 (11:12 -0400)]
websocket: Avoid calling convert_yielded twice on the same object
This is not allowed for native coroutines, although for reasons I
can't put my finger on it only fails intermittently (in the one test
we have that uses this with native coroutines).
Michael V. DePalatis [Sat, 25 Mar 2017 21:25:13 +0000 (17:25 -0400)]
Replace func directive with double backticks
Andreas Røsdal [Sat, 25 Mar 2017 19:16:10 +0000 (20:16 +0100)]
Use the member variables instead of arguments for self._compression_level and self._mem_level.
Ben Darnell [Sat, 25 Mar 2017 18:00:26 +0000 (14:00 -0400)]
autoreload: Don't close the IOLoop on reload
This was a last-ditch effort to close file descriptors that were not
marked as CLOEXEC. However, it was never complete (it didn't touch
file descriptors that were not registered on the IOLoop), and it can't
work with asyncio (which does not allow closing the IOLoop without
stopping it and unwinding the stack first). Since Tornado (and
hopefully all major libraries using the IOLoop) is careful about
setting CLOEXEC when needed, just get rid of the close.
Fixes #1543
Ben Darnell [Sat, 25 Mar 2017 16:56:39 +0000 (12:56 -0400)]
Merge pull request #1971 from SuminAndrew/remove-with_statement
remove redundant with_statement feature
Ben Darnell [Sat, 25 Mar 2017 15:53:20 +0000 (11:53 -0400)]
Merge pull request #1963 from protonpopsicle/master
HTTPServer pass no_keep_alive option to conn params
Ben Darnell [Sat, 25 Mar 2017 15:08:52 +0000 (11:08 -0400)]
Merge pull request #1966 from JZQT/master
Make `tornado.log.LogFormatter` compatible with `logging.config.dictConfig`.
Andreas Røsdal [Wed, 8 Mar 2017 20:29:17 +0000 (21:29 +0100)]
Add parameter compression_options=None.
Andreas Røsdal [Wed, 8 Mar 2017 20:20:32 +0000 (21:20 +0100)]
Make compression options argument optional.
Andreas Røsdal [Wed, 8 Mar 2017 19:57:39 +0000 (20:57 +0100)]
Fix for Python 2.7.
Andreas Røsdal [Wed, 8 Mar 2017 19:31:00 +0000 (20:31 +0100)]
Add compression_level and mem_level to WebSocketHandler.get_compression_options().
Andrew Sumin [Tue, 7 Mar 2017 09:07:06 +0000 (12:07 +0300)]
remove redundant with_statement feature
A. Jesse Jiryu Davis [Sun, 5 Mar 2017 19:15:04 +0000 (14:15 -0500)]
Merge pull request #1969 from iver56/patch-1
Fix typo "you app" -> "your app"
Iver Jordal [Wed, 1 Mar 2017 09:29:29 +0000 (10:29 +0100)]
Fix typo "you app" -> "your app"
JZQT [Mon, 27 Feb 2017 02:46:28 +0000 (10:46 +0800)]
Make `tornado.log.LogFormatter` compatible with `logging.config.dictConfig`.
Michael V. DePalatis [Sun, 26 Feb 2017 23:25:33 +0000 (18:25 -0500)]
Leave calling colorama.init to the user
Ben Darnell [Sun, 26 Feb 2017 16:44:54 +0000 (11:44 -0500)]
Merge pull request #1909 from ajdavis/on-message-coroutine
websocket: WebSocketHandler.on_message allows coroutines
A. Jesse Jiryu Davis [Mon, 9 Jan 2017 02:43:42 +0000 (21:43 -0500)]
websocket: WebSocketHandler.on_message allows coroutines
Fixes #1650
Ben Darnell [Sat, 25 Feb 2017 22:35:22 +0000 (17:35 -0500)]
Merge pull request #1957 from bdarnell/ws-ping
websocket: Periodic pinging for failure detection
Ben Darnell [Sat, 25 Feb 2017 22:34:47 +0000 (17:34 -0500)]
Merge pull request #1964 from dv321/websocket-client-callback
websocket: fix client message callback error
Doug Vargas [Fri, 24 Feb 2017 20:36:53 +0000 (12:36 -0800)]
websocket protocol callback error handling uses getattr instead of direct attr access
Scott Meisburger [Fri, 24 Feb 2017 16:58:55 +0000 (11:58 -0500)]
httpserver: pass no_keep_alive option to connection params
Ben Darnell [Tue, 21 Feb 2017 03:28:08 +0000 (22:28 -0500)]
Merge pull request #1873 from pitrou/bytearray_buffers
Use bytearray buffers in IOStream
Ben Darnell [Tue, 21 Feb 2017 03:14:34 +0000 (22:14 -0500)]
web: Remove accidentally-set execute bit
Ben Darnell [Tue, 21 Feb 2017 03:01:01 +0000 (22:01 -0500)]
Merge commit 'pull/origin/1653'
Ben Darnell [Tue, 21 Feb 2017 02:44:22 +0000 (21:44 -0500)]
Merge pull request #1649 from xrmx/docwindows
docs: give more hints on why windows is unsupported
Ben Darnell [Tue, 21 Feb 2017 00:32:54 +0000 (19:32 -0500)]
websocket: Support periodic pings from client side
Ben Darnell [Tue, 21 Feb 2017 00:22:58 +0000 (19:22 -0500)]
Merge commit 'pull/origin/1938' into ws-ping
Ben Darnell [Tue, 21 Feb 2017 00:22:05 +0000 (19:22 -0500)]
websocket: Move periodic pings from handler to protocol
Add a basic test.
Ben Darnell [Mon, 20 Feb 2017 22:58:15 +0000 (17:58 -0500)]
Merge pull request #1956 from bdarnell/master
Misc updates
Ben Darnell [Mon, 20 Feb 2017 21:50:33 +0000 (16:50 -0500)]
tox: Update some configs to use py36
Closes #1926
Ben Darnell [Mon, 20 Feb 2017 19:59:03 +0000 (14:59 -0500)]
setup: Ship LICENSE file in tarball
Fixes #1897
Ben Darnell [Mon, 20 Feb 2017 19:55:31 +0000 (14:55 -0500)]
docs: Remove direct tarball links and legacy install instructions
The tarball links were broken for many months without anyone noticing,
so apparently they weren't getting used (and anyone using them would
miss alternate release artifacts like the binary wheels we publish for
windows). Replace the hacks used to generate the tarball links with a
link to pypi and remove legacy manual installation instructions.
Ben Darnell [Mon, 20 Feb 2017 19:45:14 +0000 (14:45 -0500)]
testing: Clarify docs of testing.main()
Ben Darnell [Mon, 20 Feb 2017 19:41:30 +0000 (14:41 -0500)]
docs: Clarify limitations of native coroutines.