]>
git.ipfire.org Git - thirdparty/tornado.git/log
Min RK [Wed, 11 Jan 2017 10:22:00 +0000 (11:22 +0100)]
copy handler list in IOLoop.close(all_fds=True)
avoids modifying dict during iteration if close method on fd triggers something like `IOLoop.remove_handler`
Ben Darnell [Sun, 8 Jan 2017 18:57:07 +0000 (13:57 -0500)]
Merge pull request #1924 from duboviy/master
Add Python 3.6 support
Ben Darnell [Sun, 8 Jan 2017 18:54:17 +0000 (13:54 -0500)]
Merge pull request #1899 from mr-ping/master
Rewrite url_concat function using PythonStandardLibrary
Eugene Dubovoy [Sun, 8 Jan 2017 16:19:30 +0000 (18:19 +0200)]
Add Python 3.6 support
A. Jesse Jiryu Davis [Tue, 20 Dec 2016 14:25:07 +0000 (08:25 -0600)]
Merge pull request #1916 from SuminAndrew/routing-docs
improve routing module docs and tests
Andrew Sumin [Sat, 17 Dec 2016 16:56:17 +0000 (19:56 +0300)]
improve routing module docs and tests
Ben Darnell [Sat, 17 Dec 2016 04:18:42 +0000 (12:18 +0800)]
Merge pull request #1806 from SuminAndrew/routing
implement routing mechanism
Ben Darnell [Tue, 13 Dec 2016 13:46:01 +0000 (21:46 +0800)]
Merge pull request #1906 from ajdavis/handle-stream-native-coro
tcpserver: handle_stream can be a native coroutine
Ben Darnell [Tue, 13 Dec 2016 12:57:11 +0000 (20:57 +0800)]
Merge pull request #1911 from medariox/patch-1
Catch AttributeError in cpu_count()
Ben Darnell [Tue, 13 Dec 2016 12:54:15 +0000 (20:54 +0800)]
Merge branch 'master' into handle-stream-native-coro
Ben Darnell [Tue, 13 Dec 2016 12:52:37 +0000 (20:52 +0800)]
Merge pull request #1910 from ajdavis/preload-latin1
netutil: Preload the "latin1" codec
Ben Darnell [Tue, 13 Dec 2016 12:47:40 +0000 (20:47 +0800)]
Merge pull request #1908 from takluyver/i1907
Use errno_from_exception on error caught in Waker
Ben Darnell [Tue, 13 Dec 2016 12:43:36 +0000 (20:43 +0800)]
Merge pull request #1902 from pitrou/tcpserver_stop_twice
Fix #1901: fix TCPServer.stop() when called twice
Dario [Sun, 11 Dec 2016 16:57:31 +0000 (17:57 +0100)]
Catch AttributeError in cpu_count()
Running
```Python 2.7.12 (v2.7.12:
d33e0cf91556 , Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] on win32```
on Windows 10 64 Bit
Noticed this issue while running ```tox``` with ```pytest tornado 0.4.5``` and ```tornado 4.4.2```.
A. Jesse Jiryu Davis [Sat, 10 Dec 2016 12:34:31 +0000 (07:34 -0500)]
netutil: Preload the "latin1" codec
For reasons not yet understood, some Solaris users get intermittent
"LookupError: unknown encoding: latin1", this has been reported to
fix it.
Fixes #584
Thomas Kluyver [Wed, 7 Dec 2016 10:14:05 +0000 (11:14 +0100)]
Use errno_from_exception on error caught in Waker
Addresses part of gh-1907
A. Jesse Jiryu Davis [Mon, 5 Dec 2016 11:37:19 +0000 (06:37 -0500)]
tcpserver: handle_stream can be a native coroutine
Antoine Pitrou [Wed, 30 Nov 2016 16:40:46 +0000 (17:40 +0100)]
Fix #1901: fix TCPServer.stop() when called twice
Andrey Sumin [Tue, 29 Nov 2016 08:41:02 +0000 (11:41 +0300)]
allow HTTPServerConnectionDelegate as routing targets
Ping [Thu, 24 Nov 2016 06:19:11 +0000 (14:19 +0800)]
Rewrite url_concat function using PythonStandardLibrary
Ben Darnell [Sun, 20 Nov 2016 13:51:19 +0000 (21:51 +0800)]
Merge pull request #1889 from pitrou/future_warnings_at_shutdown
Avoid spurious warnings at shutdown
Ben Darnell [Sun, 20 Nov 2016 12:30:49 +0000 (20:30 +0800)]
Update warning config to fix tests on python 3.6 nightly
Ben Darnell [Sun, 20 Nov 2016 12:13:24 +0000 (20:13 +0800)]
Merge pull request #1893 from pitrou/coverage_failure_py3_c_locale
Fix error in coverage runs under Py3 with a C locale
Ben Darnell [Sun, 20 Nov 2016 09:40:34 +0000 (17:40 +0800)]
Merge pull request #1890 from pitrou/coroutine_introspection
Improve introspection of coroutines
Ben Darnell [Sun, 20 Nov 2016 09:14:48 +0000 (17:14 +0800)]
Merge pull request #1881 from ajdavis/file-example
docs: Demonstrate uploading and receiving files
Andrey Sumin [Tue, 15 Nov 2016 10:50:09 +0000 (13:50 +0300)]
add docs for web module
Antoine Pitrou [Wed, 16 Nov 2016 10:57:00 +0000 (11:57 +0100)]
Fix error in coverage runs under Py3 with a C locale
Antoine Pitrou [Tue, 15 Nov 2016 11:41:16 +0000 (12:41 +0100)]
Fix for PyPy
Antoine Pitrou [Tue, 15 Nov 2016 11:35:29 +0000 (12:35 +0100)]
Improve introspection of coroutines
Antoine Pitrou [Tue, 15 Nov 2016 09:44:16 +0000 (10:44 +0100)]
Avoid referencing globals in emulated is_finalizing()
Antoine Pitrou [Tue, 15 Nov 2016 09:38:18 +0000 (10:38 +0100)]
Avoid spurious warnings at shutdown
When there are still active coroutines at interpreter shutdown, you can
see sometimes warnings such as:
Exception ignored in: <bound method Future.__del__ of <tornado.concurrent.Future object at 0x7f56a8b142e8>>
Traceback (most recent call last):
File "/home/antoine/tornado/tornado/concurrent.py", line 338, in __del__
TypeError: 'NoneType' object is not callable
These are distracting and don't bear any useful information, so silence them.
Andrey Sumin [Thu, 10 Nov 2016 10:39:35 +0000 (13:39 +0300)]
add docs for routing module
Andrey Sumin [Thu, 15 Sep 2016 11:02:42 +0000 (14:02 +0300)]
[WIP] routing mechanism draft
A. Jesse Jiryu Davis [Sat, 5 Nov 2016 15:59:21 +0000 (11:59 -0400)]
Merge pull request #1867 from ajdavis/redirecthandler-url-pattern
web: Add regex support to RedirectHandler
A. Jesse Jiryu Davis [Sat, 5 Nov 2016 01:42:01 +0000 (21:42 -0400)]
docs: Demonstrate uploading and receiving files
A. Jesse Jiryu Davis [Fri, 28 Oct 2016 03:03:35 +0000 (23:03 -0400)]
web: Add regex support to RedirectHandler
The docs had wrongly claimed this was supported before. Implement it,
and update the docs to show the str.format-style syntax we chose.
Closes #1861.
Ben Darnell [Fri, 4 Nov 2016 04:03:34 +0000 (12:03 +0800)]
Merge pull request #1862 from SuminAndrew/httpserver-adapters-refactor
refactor httpserver request adapters
Ben Darnell [Fri, 4 Nov 2016 04:00:48 +0000 (12:00 +0800)]
Merge pull request #1876 from pitrou/lockless_add_callback
Lockless implementation of add_callback
Antoine Pitrou [Thu, 3 Nov 2016 10:57:33 +0000 (11:57 +0100)]
Also catch "ValueError: I/O operation on closed file"
Antoine Pitrou [Thu, 3 Nov 2016 10:44:30 +0000 (11:44 +0100)]
Try to fix spurious close() errors
Antoine Pitrou [Thu, 3 Nov 2016 10:23:39 +0000 (11:23 +0100)]
Do what it says on the tin
Antoine Pitrou [Thu, 3 Nov 2016 09:48:55 +0000 (10:48 +0100)]
Lockless implementation of add_callback
Fixes #1874.
Andrey Sumin [Thu, 20 Oct 2016 11:31:15 +0000 (14:31 +0300)]
refactor httpserver request adapters
Ben Darnell [Thu, 13 Oct 2016 05:11:27 +0000 (13:11 +0800)]
Merge pull request #1857 from SuminAndrew/default-host-test
add unit tests for an application with default_host
Ben Darnell [Thu, 13 Oct 2016 04:58:54 +0000 (12:58 +0800)]
Merge pull request #1844 from ajdavis/document-httprequest-timeout
httpclient: Document the defaults.
Andrey Sumin [Sun, 2 Oct 2016 14:36:49 +0000 (17:36 +0300)]
add unit tests for an application with default_host
A. Jesse Jiryu Davis [Fri, 23 Sep 2016 14:01:29 +0000 (10:01 -0400)]
httpclient: Document the defaults.
Ben Darnell [Sat, 1 Oct 2016 04:38:04 +0000 (12:38 +0800)]
Merge remote-tracking branch 'origin/branch4.4'
A. Jesse Jiryu Davis [Fri, 30 Sep 2016 22:38:48 +0000 (18:38 -0400)]
Merge pull request #1852 from bdarnell/parse-cookie
httputil: Rewrite cookie parsing
Ben Darnell [Fri, 30 Sep 2016 16:03:23 +0000 (00:03 +0800)]
Release notes and version bump for 4.4.2
Ben Darnell [Fri, 30 Sep 2016 15:39:29 +0000 (23:39 +0800)]
httputil: Rewrite cookie parsing
Move from the python standard library to a parsing function copied from
Django. This parser more closely matches browser behavior. The primary
motivation is that differences between server-side and browser cookie
parsing can lead to an XSRF bypass, as in
https://hackerone.com/reports/26647. A secondary benefit is that this
makes it possible to work with cookie headers containing cookies that
are invalid according to the spec, which is a surprisingly common
request.
Closes #1851
Closes #633
Closes #1434
Closes #1176
A. Jesse Jiryu Davis [Thu, 11 Aug 2016 19:24:27 +0000 (15:24 -0400)]
Update reference to asyncio's add_reader doc
Ben Darnell [Thu, 22 Sep 2016 13:29:13 +0000 (21:29 +0800)]
Merge pull request #1838 from ajdavis/issue-1803-callback-returns-dict
io_loop: Don't spin CPU if callback returns {}
A. Jesse Jiryu Davis [Wed, 21 Sep 2016 19:47:39 +0000 (15:47 -0400)]
io_loop: Don't spin CPU if callback returns {}
Fixes an infinite loop by preventing _run_callback from directly calling
add_callback again when a callback returns {} or [].
Ben Darnell [Wed, 21 Sep 2016 03:06:28 +0000 (11:06 +0800)]
Merge pull request #1834 from tornadoweb/stable
Merge pull request #1808 from darabos/patch-1
Ben Darnell [Sun, 11 Sep 2016 12:17:28 +0000 (20:17 +0800)]
Merge pull request #1825 from samueldg/fix/testing_typos
Fix various typos in testing.py
Ben Darnell [Sun, 11 Sep 2016 12:00:15 +0000 (20:00 +0800)]
Merge pull request #1821 from lilydjwg/master
tcpclient: try next address when protocol not supported
依云 [Mon, 5 Sep 2016 10:03:36 +0000 (18:03 +0800)]
tcpclient: catch any `socket()` errors
so we can try next addresses, e.g. when trying to connect to IPv6
addresses on OSes with IPv6 disabled which fails with a protocol not
supported error
This fixes #1809.
Samuel Dion-Girardeau [Fri, 9 Sep 2016 01:42:51 +0000 (21:42 -0400)]
Fix various typos in testing.py
Ben Darnell [Tue, 6 Sep 2016 09:24:53 +0000 (17:24 +0800)]
Merge pull request #1823 from SuminAndrew/update-curl-version
deprecate libcurl < 7.22.0 and remove Ubuntu 10.04 Vagrant configs
Andrey Sumin [Tue, 6 Sep 2016 08:28:28 +0000 (11:28 +0300)]
deprecate libcurl < 7.22.0 and remove Ubuntu 10.04 Vagrant configs
Ben Darnell [Mon, 5 Sep 2016 13:35:57 +0000 (21:35 +0800)]
docs: Document some subtleties of native coroutines
Ben Darnell [Mon, 5 Sep 2016 13:18:20 +0000 (21:18 +0800)]
websocket: Add security warning to check_origin docs
Ben Darnell [Mon, 5 Sep 2016 13:13:32 +0000 (21:13 +0800)]
httpserver_test: increase timeout
This test was flaky in https://travis-ci.org/tornadoweb/tornado/jobs/
157573739
Ben Darnell [Mon, 5 Sep 2016 13:08:00 +0000 (21:08 +0800)]
Merge pull request #1818 from zakkie/fix/doc-string-print
use print function insted of stetement at doc-string
Akihiro Yamazaki [Mon, 5 Sep 2016 12:36:37 +0000 (21:36 +0900)]
make sure to same output on python 2 and 3
Ben Darnell [Mon, 5 Sep 2016 11:52:31 +0000 (19:52 +0800)]
Merge pull request #1819 from wonderay/master
curl_httpclient: Add proxy_auth_mode to support 'digest' for proxy authentication
Ben Darnell [Mon, 5 Sep 2016 08:06:51 +0000 (16:06 +0800)]
Merge pull request #1782 from AaronOpfer/1769
Tie Runner lifetime to lifetime of result future or coroutine function (whichever is GCed first)
zhimin [Fri, 2 Sep 2016 09:23:09 +0000 (17:23 +0800)]
curl_httpclient: Add proxy_auth_mode to support digest for proxy authentication
Akihiro Yamazaki [Fri, 2 Sep 2016 05:52:06 +0000 (14:52 +0900)]
use print function insted of stetement at doc-string
A. Jesse Jiryu Davis [Mon, 29 Aug 2016 16:42:04 +0000 (12:42 -0400)]
Merge pull request #1815 from mike820324/master
Add import tcpclient test in import_test
mike820324 [Mon, 29 Aug 2016 02:03:09 +0000 (10:03 +0800)]
Update import_test.
- Add test for import tcpclient
- Remove comment line.
A. Jesse Jiryu Davis [Fri, 26 Aug 2016 02:06:04 +0000 (22:06 -0400)]
Merge pull request #1808 from darabos/patch-1
Fix "resuse_port" typo in documentation
A. Jesse Jiryu Davis [Wed, 24 Aug 2016 19:28:01 +0000 (15:28 -0400)]
Merge pull request #1808 from darabos/patch-1
Fix "resuse_port" typo in documentation
Daniel Darabos [Wed, 24 Aug 2016 14:39:58 +0000 (16:39 +0200)]
Fix typo in documentation.
Ben Darnell [Sat, 20 Aug 2016 15:56:15 +0000 (11:56 -0400)]
Merge pull request #1805 from nvllsvm/master
Fix comment typos
Andrew Rabert [Sat, 20 Aug 2016 15:25:21 +0000 (11:25 -0400)]
Fix typos
Aaron Opfer [Tue, 26 Jul 2016 13:45:08 +0000 (08:45 -0500)]
Tie Runner lifetime to Future's existence
Fixes #1769
A. Jesse Jiryu Davis [Sun, 14 Aug 2016 19:17:58 +0000 (15:17 -0400)]
Merge pull request #1797 from mivade/chat-demo-update
Chat demo update
Michael V. DePalatis [Fri, 12 Aug 2016 14:53:05 +0000 (16:53 +0200)]
Clear input when submitting message
Michael V. DePalatis [Fri, 12 Aug 2016 14:37:20 +0000 (16:37 +0200)]
Update chat demo for jQuery 3.1
Ben Darnell [Fri, 12 Aug 2016 13:59:13 +0000 (09:59 -0400)]
Merge pull request #1794 from mivade/tcp-demo
Add TCP echo demo
Michael V. DePalatis [Fri, 12 Aug 2016 06:29:55 +0000 (08:29 +0200)]
Add suffix to README
Michael V. DePalatis [Fri, 12 Aug 2016 06:29:24 +0000 (08:29 +0200)]
Remove unused clients set
Michael V. DePalatis [Wed, 10 Aug 2016 20:04:20 +0000 (22:04 +0200)]
Include pared-down version of echo server in docs
Michael V. DePalatis [Wed, 10 Aug 2016 19:55:55 +0000 (21:55 +0200)]
Add TCP echo demo
Ben Darnell [Fri, 12 Aug 2016 00:50:02 +0000 (20:50 -0400)]
Merge pull request #1795 from ajdavis/fix-add-reader-sphinx-err
Update reference to asyncio's add_reader doc
A. Jesse Jiryu Davis [Thu, 11 Aug 2016 19:24:27 +0000 (15:24 -0400)]
Update reference to asyncio's add_reader doc
A. Jesse Jiryu Davis [Tue, 9 Aug 2016 02:19:50 +0000 (22:19 -0400)]
Merge pull request #1792 from samuelchen/demo_websocket_update
update demo/websocket for updating JQuery to 3.1.0
Samuel Chen [Mon, 8 Aug 2016 08:01:50 +0000 (16:01 +0800)]
update demo/websocket for updating JQuery to 3.1.0
A. Jesse Jiryu Davis [Tue, 2 Aug 2016 12:46:51 +0000 (08:46 -0400)]
Merge pull request #1786 from mr-ping/master
Change the address of Morsel description
Ping Yang [Tue, 2 Aug 2016 11:37:37 +0000 (19:37 +0800)]
Change the address of Morsel description
Ben Darnell [Wed, 27 Jul 2016 18:47:56 +0000 (14:47 -0400)]
Merge pull request #1783 from matee911/master
docs: Fixed typo in release notes
matee [Wed, 27 Jul 2016 14:10:12 +0000 (16:10 +0200)]
Fixed typo in release notes
Ben Darnell [Tue, 26 Jul 2016 14:05:10 +0000 (10:05 -0400)]
Merge pull request #1781 from bdarnell/options-path
options_test: Absolutize `__file__`
Ben Darnell [Tue, 26 Jul 2016 04:03:11 +0000 (00:03 -0400)]
options_test: Absolutize __file__
Python 3.4 guarantees an absolute path, but in older versions relative
paths are used in some cases.
Fixes #1780
Ben Darnell [Tue, 26 Jul 2016 03:45:45 +0000 (23:45 -0400)]
travis.yml: Reproduce #1780 in CI
Ben Darnell [Mon, 25 Jul 2016 01:35:46 +0000 (21:35 -0400)]
Merge pull request #1778 from protoss-player/master
Fix for uppercase "Transfer-Encoding" values
Ben Darnell [Mon, 25 Jul 2016 00:58:27 +0000 (20:58 -0400)]
httpclient: clarify docs of HTTPResponse.body
Closes #1775
Ben Darnell [Mon, 25 Jul 2016 00:52:23 +0000 (20:52 -0400)]
Merge pull request #1776 from SuminAndrew/exec_in-rewrite
simplify tornado.util.exec_in