Ben Darnell
5d0d8cbaac
Add release notes for 4.0.2.
2014-09-01 11:12:27 -04:00
Ben Darnell
39fd0eee63
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 .
2014-09-01 10:45:13 -04:00
Ben Darnell
f16aa39c97
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).
2014-09-01 10:45:07 -04:00
Ben Darnell
c1a123a8cd
Fix a subtle reference cycle that can lead to increased memory consumption.
...
Closes #1165 .
2014-09-01 10:45:01 -04:00
Eddie Mishelevich
fc9a3acdb4
Add missing argument max_buffer_size to TCPClient.connect in SimpleAsyncHTTPClient
2014-09-01 10:44:45 -04:00
Ben Darnell
d9689739fe
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 .
2014-08-24 12:02:01 -04:00
Niko Wilbert
ed7bd3a2bd
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 ).
2014-08-24 12:01:54 -04:00
Ben Darnell
7bf3b143e0
Fix a regression in which a timeout could fire after being cancelled.
...
Closes #1148 .
2014-08-24 12:01:46 -04:00
Ben Darnell
fe43646e5d
Set version number in branch4.0 to 4.0.2.dev1
2014-08-24 12:00:49 -04:00
Ben Darnell
54bfbee586
Set version number to 4.0.1.
2014-08-12 09:11:20 -04:00
Ben Darnell
6c6d16a9c6
Add release notes for 4.0.1 and update version number.
2014-08-10 15:21:49 -04:00
Ben Darnell
c7ae10d668
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
2014-08-10 14:14:25 -04:00
Ben Darnell
5a7719e0e9
Fix an AttributeError in WebSocketClientConnection._on_close.
...
Fix an issue that was preventing this issue from showing up in my
tests.
Closes #1140 .
2014-08-10 14:13:25 -04:00
WEI Zhicheng
87fa80c9eb
Fix `IOStream' when callback function return `Future' and has
...
`Exception' will silence ignore
2014-08-10 14:13:18 -04:00
WEI Zhicheng
a78184f90c
Fix `PeriodicCallback' when callback function return `Future' and has
...
`Exception' will silence ignore
2014-08-10 14:13:10 -04:00
Ben Darnell
7550e8bb55
Add missing return statements to call_at and call_later.
...
Closes #1119 .
2014-08-10 14:13:03 -04:00
Ben Darnell
fd9b9952f4
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 .
2014-08-10 14:12:53 -04:00
Ben Darnell
3c27a91997
Expand documentation of WebSocketHandler.check_origin.
...
Document the potential problems that arise with websockets and
self-signed certificates.
2014-07-26 16:48:38 -04:00
Ben Darnell
bcdbd9468f
Fix a dangling reference to callback in chatdemo.py.
2014-07-24 22:22:59 -04:00
Ben Darnell
dacf210249
Merge pull request #1120 from Mouchh/patch-1
...
Typing error
2014-07-18 22:09:11 -04:00
Cyril Mouchel
848c5175d5
Typing error
2014-07-18 19:21:35 +02:00
Ben Darnell
b96b6adf29
Fix example in docs.
2014-07-15 22:47:21 -04:00
Ben Darnell
f1824029db
Set version number to 4.0
2014-07-15 08:42:27 -04:00
Ben Darnell
b7bcc2ec22
Move next.rst to 4.0.0.rst
2014-07-15 08:41:54 -04:00
Ben Darnell
8dcbb60094
Drop the 3.2-era "upgrade notes" from the homepage.
...
The need to install dependencies is well-established by now.
2014-07-14 21:18:42 -04:00
Ben Darnell
670176c083
Reorganize top-level doc navigation.
2014-07-14 21:14:01 -04:00
Ben Darnell
b4ecbf96f3
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.
2014-07-14 21:05:33 -04:00
Ben Darnell
3cdb0e198c
Add a Highlights section to the 4.0 release notes.
2014-07-14 10:05:11 -04:00
Ben Darnell
3bcbb55d6c
Update gen docs: deemphasize Task, Callback, and Wait.
2014-07-13 18:19:29 -04:00
Ben Darnell
625bb0e075
Install sphinx_rtd_theme when running sphinx tests.
2014-07-12 23:07:01 -04:00
Ben Darnell
b96d6f6b52
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.
2014-07-12 22:57:16 -04:00
Ben Darnell
7f0ffa4c7c
Merge pull request #1107 from ajdavis/patch-3
...
Properly restore ASYNC_TEST_TIMEOUT after test.
2014-07-12 22:40:32 -04:00
Ben Darnell
5cae3ff52e
Merge pull request #1106 from ajdavis/patch-2
...
Bugfix in asynchronous_fetch example code.
2014-07-12 22:39:31 -04:00
Ben Darnell
812f440325
Merge pull request #1105 from ajdavis/patch-1
...
Complete the Motor example.
2014-07-12 22:39:15 -04:00
A. Jesse Jiryu Davis
cd420dd574
Properly restore ASYNC_TEST_TIMEOUT after test.
2014-07-12 14:25:13 -04:00
A. Jesse Jiryu Davis
ec37d01f2d
Bugfix in asynchronous_fetch example code.
2014-07-11 13:05:18 -04:00
A. Jesse Jiryu Davis
c7f21fae00
Complete the Motor example.
2014-07-11 13:03:16 -04:00
Ben Darnell
1e3379732c
Merge pull request #1101 from tioover/master
...
typo
2014-07-10 14:24:30 -04:00
Tengfei Tsui
69ce14e9cb
typo
2014-07-10 17:15:43 +08:00
Ben Darnell
8b5c4ae272
Set version number to 4.0b3.
2014-07-08 22:50:05 -04:00
Ben Darnell
943dbdf308
Add XSRF change to the release notes.
2014-07-08 22:49:30 -04:00
Ben Darnell
dba499ceb0
Merge remote-tracking branch 'tictail/branch3.2'
...
Closes #1097
2014-07-08 22:27:35 -04:00
William Tisäter
ab688e7a1b
Catch `binascii.a2b_hex` errors on Python 3
2014-07-08 15:52:25 +02:00
William Tisäter
2299cf96bb
Don't raise when failing to hex decode XSRF v1
2014-07-08 09:07:48 +02:00
William Tisäter
d881dd2f87
Turn short and hex XSRF tests into success tests
2014-07-08 09:07:18 +02:00
William Tisäter
22e8614fdd
Remove length requirement from v1 XSRF tokens
2014-07-07 23:29:44 +02:00
Ben Darnell
9788e4f1ed
Fix outdated variable name in docs.
2014-07-06 11:10:09 -04:00
Ben Darnell
6a5881430b
Add a test for exception in websocket callbacks.
2014-07-05 18:49:36 -04:00
Ben Darnell
2fdfcb1b19
Rewrite chatdemo to use a coroutine instead of callbacks.
2014-07-05 17:55:44 -04:00
Ben Darnell
f1edd3dd15
Merge branch 'guide'
...
* guide:
Expand and rewrite the guide docs.
Split overview.rst into separate files.
2014-07-04 16:04:09 -04:00