]>
git.ipfire.org Git - thirdparty/tornado.git/log
Daiki Aminaka [Sun, 18 Jan 2015 08:58:54 +0000 (17:58 +0900)]
add is_running to get callback state
Ben Darnell [Sat, 17 Jan 2015 22:38:35 +0000 (17:38 -0500)]
Allow SSLError or socket.error in this test.
Ben Darnell [Sat, 17 Jan 2015 22:25:15 +0000 (17:25 -0500)]
Fix LogCounter on py26
Ben Darnell [Sat, 17 Jan 2015 21:43:37 +0000 (16:43 -0500)]
Fix another unexamined Future
Ben Darnell [Sat, 17 Jan 2015 21:39:29 +0000 (16:39 -0500)]
Merge branch 'log_future'
Ben Darnell [Sat, 17 Jan 2015 21:37:49 +0000 (16:37 -0500)]
Consider the tests failed if they log any non-filtered warnings or errors.
Ben Darnell [Sat, 17 Jan 2015 20:26:03 +0000 (15:26 -0500)]
Log more uncaught exceptions instead of suppressing them.
Add more docs about Future exception logging.
Ben Darnell [Fri, 16 Jan 2015 03:53:08 +0000 (22:53 -0500)]
travis-ci: don't install pycurl on pypy3.
Ben Darnell [Fri, 16 Jan 2015 03:37:03 +0000 (22:37 -0500)]
Merge pull request #1299 from ysimonson/feature/ignore-xsrf-errors
Handle bad xsrf tokens more gracefully
Ben Darnell [Wed, 14 Jan 2015 13:59:21 +0000 (08:59 -0500)]
Merge commit 'bbd1f9'
Conflicts:
.travis.yml
Yusuf Simonson [Mon, 12 Jan 2015 15:45:52 +0000 (10:45 -0500)]
More aggressive capturing of xsrf cookie errors
Ben Darnell [Mon, 12 Jan 2015 03:22:16 +0000 (22:22 -0500)]
Make Application.start_request match HTTPServerConnectionDelegate.start_request.
This was always intended, but unfortunately the change to HTTPServer
is backwards-incompatible.
Ben Darnell [Mon, 12 Jan 2015 01:15:36 +0000 (20:15 -0500)]
Merge pull request #1270 from djvis/master
Use server_hostname parameter in call to ssl_wrap_socket
Ben Darnell [Sun, 11 Jan 2015 23:58:53 +0000 (18:58 -0500)]
Catch up on next-release notes.
Ben Darnell [Sun, 11 Jan 2015 18:50:58 +0000 (13:50 -0500)]
Correct handling of HTTP version numbers.
Per RFC 7230 section 2.6, we always output HTTP/1.1 even if the
request was HTTP/1.0 (and we accept any 1.x version).
Ben Darnell [Sun, 11 Jan 2015 18:29:57 +0000 (13:29 -0500)]
Fix regression in support for both CRLF and bare LF in headers.
Closes #1297.
Ben Darnell [Sun, 11 Jan 2015 18:00:00 +0000 (13:00 -0500)]
Fix httputil_test on python 3.2.
Ben Darnell [Sun, 11 Jan 2015 17:40:51 +0000 (12:40 -0500)]
Fix header parsing with unicode newline-like characters.
We were using python's unicode.splitlines(), which recognizes
more characters than just CRLF and could cause problems if those
characters appeared in header values.
Fixes #1291.
Ben Darnell [Sun, 11 Jan 2015 16:21:42 +0000 (11:21 -0500)]
Refactor connection-closed tests.
On CI servers, port numbers get reused frequently, so a closed
port cannot be relied upon to refuse connections for long.
We now use an open client-side socket's ephemeral port,
which will always refuse connections and cannot be reused
for as log as the socket is open.
Ben Darnell [Sun, 11 Jan 2015 15:29:36 +0000 (10:29 -0500)]
Merge pull request #1296 from asvetlov/master
Mention in Sec-WebSocket-Version all versions supported by tornado
Ben Darnell [Sun, 11 Jan 2015 15:27:07 +0000 (10:27 -0500)]
Merge pull request #1294 from lmas/master
Fixed TCPServer not setting the correct read_chunk_size.
Ben Darnell [Sat, 10 Jan 2015 16:11:30 +0000 (11:11 -0500)]
Merge pull request #1285 from lwzm/master
Ensure that HTTPServerRequest.body is a byte string
Ben Darnell [Sat, 10 Jan 2015 15:47:19 +0000 (10:47 -0500)]
Clarify docs: `return` in generator is new in 3.3.
Ben Darnell [Sat, 10 Jan 2015 15:08:46 +0000 (10:08 -0500)]
Merge pull request #1300 from arihantagarwal/arihant
Changed 'return' to 'raise gen.Return()' to fix Issue #1292
Arihant Agarwal [Sat, 10 Jan 2015 06:02:24 +0000 (11:32 +0530)]
Changed 'return' to 'raise gen.Return()' to fix Issue #1292, explanation added.
Yusuf Simonson [Wed, 7 Jan 2015 16:01:55 +0000 (11:01 -0500)]
Handle bad xsrf tokens more gracefully
Andrew Svetlov [Mon, 5 Jan 2015 19:15:40 +0000 (21:15 +0200)]
Mention in Sec-WebSocket-Version all versions supported by tornado
As RFC 6455 recommends for asnwer for unsopported protocol.
A. Svensson [Sun, 4 Jan 2015 10:33:17 +0000 (11:33 +0100)]
Fixed TCPServer not setting the correct read_chunk_size.
felloak [Tue, 23 Dec 2014 08:28:36 +0000 (16:28 +0800)]
Ensure that HTTPServerRequest.body is a byte string
HTTPServerRequest.body should be bytes but it is an empty string that
occurs in Python3 when pass no body to HTTPServerRequest.
Daniel James Visentin [Tue, 23 Dec 2014 01:34:04 +0000 (12:34 +1100)]
Skip test if check_hostname functionality not available
Daniel James Visentin [Tue, 23 Dec 2014 01:09:48 +0000 (12:09 +1100)]
Add test to ensure stream start_tls calls use the server_hostname parameter
Ben Darnell [Thu, 18 Dec 2014 15:16:18 +0000 (10:16 -0500)]
Merge pull request #1281 from nordaux/master
Fixed error that the web.asynchronous doesn't complete python3 concurrent.Futures
Andrew Glinskiy [Thu, 18 Dec 2014 14:38:20 +0000 (16:38 +0200)]
Fixed error that the web.asynchronous doesn't complete python3 concurrent.Futures
Ben Darnell [Wed, 17 Dec 2014 16:09:16 +0000 (11:09 -0500)]
Merge pull request #1279 from chrisseto/patch-1
Fix typo in `stream_request_body`
Chris Seto [Wed, 17 Dec 2014 15:55:05 +0000 (10:55 -0500)]
Fix typo in `stream_request_body`
Ben Darnell [Tue, 16 Dec 2014 02:22:52 +0000 (21:22 -0500)]
Merge pull request #1261 from lilydjwg/fix-ipv6-host
fix matching an IPv6 address as host
依云 [Sun, 14 Dec 2014 10:12:26 +0000 (18:12 +0800)]
move code to seperate function 'split_host_and_port'
依云 [Sun, 14 Dec 2014 10:01:26 +0000 (18:01 +0800)]
remove executable permission from tornado.web
依云 [Sun, 14 Dec 2014 10:00:08 +0000 (18:00 +0800)]
Merge branch 'master' into fix-ipv6-host
Ben Darnell [Fri, 12 Dec 2014 15:17:32 +0000 (10:17 -0500)]
Merge pull request #1268 from schlamar/win-timeout
fix test_request_timeout on Windows
Marc Schlaich [Fri, 12 Dec 2014 07:31:13 +0000 (08:31 +0100)]
tox: add optional pyxx-no-ext environments
These can be run on systems without an available C compiler.
Marc Schlaich [Wed, 10 Dec 2014 15:18:30 +0000 (16:18 +0100)]
fix test_request_timeout on Windows by increasing timeout
Ben Darnell [Thu, 11 Dec 2014 14:24:54 +0000 (09:24 -0500)]
Add support for Future.exc_info when logging abandoned futures.
Simplify some Future internals.
Add enough magic calls to Future.exception that the test suite
passes without warning (at least on py34)
Daniel James Visentin [Thu, 11 Dec 2014 00:01:40 +0000 (11:01 +1100)]
Use server_hostname parameter in call to ssl_wrap_socket
Ben Darnell [Tue, 9 Dec 2014 04:30:17 +0000 (23:30 -0500)]
Merge branch 'master' into log_future
Ben Darnell [Sat, 6 Dec 2014 02:20:18 +0000 (21:20 -0500)]
Merge pull request #1258 from tdyas/no_raise_error
http client: option to not raise errors
Ben Darnell [Fri, 5 Dec 2014 14:51:00 +0000 (09:51 -0500)]
Merge pull request #1264 from nbargnesi/master
swap platform.system() for sys.platform
Nick Bargnesi [Fri, 5 Dec 2014 06:37:45 +0000 (01:37 -0500)]
swap platform.system() for sys.platform; #1263
Ben Darnell [Sun, 30 Nov 2014 17:34:56 +0000 (12:34 -0500)]
Merge pull request #1260 from lilydjwg/no-handler-redirect
use the same protocol when redirecting to default host
依云 [Tue, 25 Nov 2014 13:45:45 +0000 (21:45 +0800)]
use the same protocol when redirecting to default host
依云 [Tue, 25 Nov 2014 13:36:28 +0000 (21:36 +0800)]
fix matching a IPv6 address as host
When the host is something like '[::1]' or '[::1]:8080',
_get_host_handlers gets wrong hosts string.
Tom Dyas [Mon, 23 Jun 2014 18:21:46 +0000 (14:21 -0400)]
http client: option to not raise errors
Pass raise_error=False to the fetch method to disable the raising of
HTTPError on errors.
Ben Darnell [Sun, 16 Nov 2014 00:15:12 +0000 (19:15 -0500)]
Also fix flow control for the select IOLoop.
Ben Darnell [Sun, 16 Nov 2014 00:08:21 +0000 (19:08 -0500)]
Fix IOStream flow control under kqueue.
An early attempt to detect closed connections in kqueue led
us to always read from the socket when data was available,
defeating any higher-level flow control.
Add a test to verify this behavior.
Ben Darnell [Tue, 11 Nov 2014 04:13:40 +0000 (23:13 -0500)]
Fix typo in docs.
Closes #1247.
Ben Darnell [Sun, 9 Nov 2014 15:59:30 +0000 (10:59 -0500)]
Merge pull request #1246 from heewa/cleanup_subprocess_in_tests
Cleanup Subprocess when tearing down AsyncTestCase
Heewa Barfchin [Sat, 8 Nov 2014 19:40:51 +0000 (14:40 -0500)]
Cleanup Subprocess when tearing down AsyncTestCase
Since an ioloop is created and destroyed between a test's `setUp` and
`tearDown`, and Subprocess holds on to an ioloop until `uninitialize`,
this allows the next test case to use Subprocess correctly.
Ben Darnell [Sat, 8 Nov 2014 18:01:01 +0000 (13:01 -0500)]
Add *args, **kw to WebSocketHandler.open.
This matches the default implementations of get/post/put/etc.
Closes #1242
Ben Darnell [Wed, 5 Nov 2014 14:36:28 +0000 (09:36 -0500)]
Merge pull request #1241 from heewa/find_option_definer
Find real option definer.
Heewa Barfchin [Mon, 3 Nov 2014 00:38:36 +0000 (19:38 -0500)]
Find real option definer.
When an option is defined through the module level "define" fn, not
directly through the class method, we should look one frame up to
find the real caller.
Ben Darnell [Tue, 28 Oct 2014 13:16:28 +0000 (09:16 -0400)]
Fix compatibility with just-released unittest2 0.6.
This release added some PendingDeprecationWarnings that were
not there previously (and were DeprecationWarnings instead
in newer pythons)
Ben Darnell [Mon, 27 Oct 2014 02:15:31 +0000 (22:15 -0400)]
Remove example of the legacy HTTPServer callback interface.
Even before the HTTPServerConnectionDelegate interface replaced it,
direct use of this callback interface should have been rare.
This untested example was incorrect when first written and
once fixed only worked on python 2.
Ben Darnell [Mon, 27 Oct 2014 00:52:16 +0000 (20:52 -0400)]
Merge pull request #1231 from daftshady/master
fixed error message in iostream
daftshady [Sun, 26 Oct 2014 12:06:59 +0000 (21:06 +0900)]
fixed error message in iostream
Ben Darnell [Sat, 18 Oct 2014 16:08:03 +0000 (12:08 -0400)]
Change connection-refused test from localhost to 127.0.0.1.
This might be contributing to occasional timeouts on travis-ci
(on the theory that some other test may be listening on the
same port on ::1).
Also explicitly stop the test if connect_callback is called.
Ben Darnell [Tue, 14 Oct 2014 02:13:31 +0000 (22:13 -0400)]
Merge pull request #1222 from glaslos/patch-1
Fixed example in doc string
Lukas Rist [Mon, 13 Oct 2014 12:06:02 +0000 (14:06 +0200)]
Fixed example in doc string
We have to pass a HTTPHeaders object to write_headers()
Ben Darnell [Sun, 12 Oct 2014 02:59:15 +0000 (22:59 -0400)]
Add another ignore_bytes_warning call to log_test.
This fixes a failure apparently introduced by changes to warning
logic in python 3.4.2.
Ben Darnell [Sun, 12 Oct 2014 02:13:15 +0000 (22:13 -0400)]
Handle closed connections in WebSocketHandler.
Closes #1174.
Ben Darnell [Sun, 12 Oct 2014 02:05:31 +0000 (22:05 -0400)]
Catch StreamClosedError in StaticFileHandler.
Closes #1208.
Ben Darnell [Sun, 12 Oct 2014 00:07:54 +0000 (20:07 -0400)]
Document that the blog demo is py2-only.
Ben Darnell [Sat, 11 Oct 2014 16:01:24 +0000 (12:01 -0400)]
Disable pycares tests on travis due to ipv6 issues.
Ben Darnell [Sat, 11 Oct 2014 15:25:36 +0000 (11:25 -0400)]
Fix byte strings as header values in curl_httpclient and python3.
Add the -bb flag to all py3 tests, which uncovered this bug.
Ben Darnell [Sat, 11 Oct 2014 14:39:39 +0000 (10:39 -0400)]
Streamline tox configuration using new features in tox 1.8.
Ben Darnell [Sun, 5 Oct 2014 19:52:58 +0000 (15:52 -0400)]
Update dependency versions in maint/requirements.txt
Ben Darnell [Fri, 10 Oct 2014 14:40:03 +0000 (10:40 -0400)]
Merge pull request #1217 from noxiouz/http_server_doc__fix
Fix an example in docstring of HTTPServer
Anton Tiurin [Fri, 10 Oct 2014 10:10:08 +0000 (14:10 +0400)]
Fix an example in docstring of HTTPServer
Ben Darnell [Sun, 5 Oct 2014 19:43:05 +0000 (15:43 -0400)]
Add a test for removing an IOLoop handler from another handler.
Related to #1214.
Ben Darnell [Sun, 5 Oct 2014 19:17:27 +0000 (15:17 -0400)]
Clarify error messages about http request bodies.
Change AssertionError to ValueError and s/empty/None.
Closes #1213.
Ben Darnell [Sun, 5 Oct 2014 19:01:11 +0000 (15:01 -0400)]
Document the ability to pass lists of kv pairs to url-concat.
Closes #1216.
Ben Darnell [Sat, 4 Oct 2014 16:29:12 +0000 (12:29 -0400)]
Merge pull request #1215 from mayhewj/master
Fix typo
Justin Mayhew [Sat, 4 Oct 2014 02:39:00 +0000 (23:39 -0300)]
Fix typo
Ben Darnell [Fri, 26 Sep 2014 01:27:49 +0000 (21:27 -0400)]
Merge pull request #1207 from leekchan/locale_test
Add some unit tests for tornado.locale
Ben Darnell [Fri, 26 Sep 2014 01:25:46 +0000 (21:25 -0400)]
Merge pull request #1206 from leekchan/test_web_redirect
Add a unit test for tornado.web.RedirectHandler
Lee Kyoung chan [Wed, 24 Sep 2014 12:37:37 +0000 (21:37 +0900)]
Add a unit test for locale.format_day
Lee Kyoung chan [Tue, 23 Sep 2014 11:44:49 +0000 (20:44 +0900)]
Add a unit test for locale.list
Lee Kyoung chan [Tue, 23 Sep 2014 10:35:13 +0000 (19:35 +0900)]
Add a unit test for locale.friendly_number
Lee Kyoung chan [Tue, 23 Sep 2014 10:13:22 +0000 (19:13 +0900)]
Improve test_format_date
Lee Kyoung chan [Tue, 23 Sep 2014 08:46:24 +0000 (17:46 +0900)]
Add a unit test for tornado.web.RedirectHandler
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.
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.
Ben Darnell [Sun, 21 Sep 2014 16:06:00 +0000 (12:06 -0400)]
Document Tornado's incompatibility with asyncio.ProactorEventLoop.
Closes #1201.
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
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
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
Parkayun [Tue, 16 Sep 2014 06:43:06 +0000 (15:43 +0900)]
Remove unused module in tornado.platform.asyncio
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
Lee Kyoung chan [Tue, 16 Sep 2014 02:08:07 +0000 (11:08 +0900)]
Fixed test_set_cookie_expires_days
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.
Omer Katz [Mon, 15 Sep 2014 10:12:14 +0000 (13:12 +0300)]
Excluded more non-PyPy related build steps that I missed.