]>
git.ipfire.org Git - thirdparty/tornado.git/log
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 [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.
Ben Darnell [Mon, 20 Feb 2017 19:35:34 +0000 (14:35 -0500)]
process: Silence "subprocess still running" warnings on python3.6
Ben Darnell [Mon, 20 Feb 2017 19:18:22 +0000 (14:18 -0500)]
tcpclient: Close socket on source_ip bind failure
Silences a warning on python 3
A. Jesse Jiryu Davis [Fri, 17 Feb 2017 16:27:12 +0000 (11:27 -0500)]
Merge pull request #1954 from dinever/patch-1
Fixed a simple typo in websocket.py
Shawn Ding [Fri, 17 Feb 2017 06:07:41 +0000 (01:07 -0500)]
Fix a typo
Ben Darnell [Fri, 10 Feb 2017 00:21:35 +0000 (19:21 -0500)]
Merge pull request #1948 from jeffhunter/master
add support for HTTP 308 redirects
Ben Darnell [Fri, 10 Feb 2017 00:06:34 +0000 (19:06 -0500)]
Merge pull request #1935 from mirceaulinic/SOURCE-IP
TCPClient: connect using specific source IP address and port
A. Jesse Jiryu Davis [Thu, 9 Feb 2017 03:59:15 +0000 (22:59 -0500)]
Merge pull request #1949 from ajdavis/asyncio-async-deprecated
Avoid deprecated asyncio.async() in test
A. Jesse Jiryu Davis [Thu, 9 Feb 2017 01:23:39 +0000 (20:23 -0500)]
Avoid deprecated asyncio.async() in test
Jeff Hunter [Thu, 9 Feb 2017 01:17:31 +0000 (17:17 -0800)]
add support for HTTP 308 redirects
A. Jesse Jiryu Davis [Wed, 8 Feb 2017 23:59:05 +0000 (18:59 -0500)]
Merge pull request #1945 from brianmego/patch-1
Documentation Typo
Brian Mego [Wed, 8 Feb 2017 21:30:41 +0000 (15:30 -0600)]
Documentation Typo
I kept misspelling "response" in my own project's docstrings and upon grepping to make sure it was totally wiped out, discovered it was also misspelled in here. Clearly the word has been misspelled since it's inception, but since we can't change English, let's update it here.
Mircea Ulinic [Tue, 7 Feb 2017 15:44:32 +0000 (15:44 +0000)]
Skip port test if not unix
Ben Darnell [Sun, 5 Feb 2017 22:58:38 +0000 (17:58 -0500)]
web: Remove obsolete doc about stream_request_body and async prepare
Fixes #1933
Ben Darnell [Sun, 5 Feb 2017 22:43:39 +0000 (17:43 -0500)]
queues: Call out thread-unsafety in docs
Fixes #1923
Mircea Ulinic [Wed, 1 Feb 2017 13:18:46 +0000 (13:18 +0000)]
Add tests for source_ip and source_port
Mircea Ulinic [Wed, 1 Feb 2017 12:02:36 +0000 (12:02 +0000)]
Support also source_port
Mircea Ulinic [Wed, 1 Feb 2017 11:36:31 +0000 (11:36 +0000)]
Remove source_ip from _Connector init kwargs
Mircea Ulinic [Wed, 1 Feb 2017 11:31:30 +0000 (11:31 +0000)]
Move bindin into _create_stream
Mircea Ulinic [Wed, 25 Jan 2017 11:45:31 +0000 (11:45 +0000)]
TCPClient: connect using specific source IP address
A. Jesse Jiryu Davis [Tue, 24 Jan 2017 14:13:33 +0000 (09:13 -0500)]
Merge pull request #1932 from tao12345666333/master
Fix document PyPI download url
TaoBeier [Tue, 24 Jan 2017 09:39:37 +0000 (17:39 +0800)]
Fix document download url on pypi.
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
Antoine Pitrou [Wed, 9 Nov 2016 21:22:08 +0000 (22:22 +0100)]
Merge branch 'master' of https://github.com/tornadoweb/tornado into bytearray_buffers
Antoine Pitrou [Tue, 8 Nov 2016 22:17:59 +0000 (23:17 +0100)]
Add comments and a docstring
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.
Antoine Pitrou [Tue, 1 Nov 2016 23:41:05 +0000 (00:41 +0100)]
Fix freezing the SSL write buffer
Antoine Pitrou [Tue, 1 Nov 2016 21:06:50 +0000 (22:06 +0100)]
Remove erroneous comment
Antoine Pitrou [Tue, 1 Nov 2016 21:02:43 +0000 (22:02 +0100)]
Fix handling _write_buffer_frozen
Antoine Pitrou [Tue, 1 Nov 2016 20:50:18 +0000 (21:50 +0100)]
Delete from the bytearray's front, instead of creating a new object
Antoine Pitrou [Tue, 1 Nov 2016 20:39:39 +0000 (21:39 +0100)]
Allow memoryview in write()
Antoine Pitrou [Tue, 1 Nov 2016 20:28:17 +0000 (21:28 +0100)]
Use bytearray buffers in IOStream
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