Skip to content

Commit ea25c04

Browse files
committed
Add release notes for 2.1.1
1 parent c5e19a0 commit ea25c04

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

website/sphinx/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release notes
44
.. toctree::
55
:maxdepth: 2
66

7+
releases/v2.1.1
78
releases/v2.1.0
89
releases/v2.0.0
910
releases/v1.2.1

website/sphinx/releases/v2.1.1.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
What's new in Tornado 2.1.1
2+
===========================
3+
4+
Oct 4, 2011
5+
-----------
6+
7+
Bug fixes
8+
~~~~~~~~~
9+
10+
* Fixed handling of closed connections with the ``epoll`` (i.e. Linux)
11+
``IOLoop``. Previously, closed connections could be shut down too early,
12+
which most often manifested as "Stream is closed" exceptions in
13+
``SimpleAsyncHTTPClient``.
14+
* Fixed a case in which chunked responses could be closed prematurely,
15+
leading to truncated output.
16+
* ``IOStream.connect`` now reports errors more consistently via logging
17+
and the close callback (this affects e.g. connections to localhost
18+
on FreeBSD).
19+
* ``IOStream.read_bytes`` again accepts both ``int`` and ``long`` arguments.
20+
* ``PeriodicCallback`` no longer runs repeatedly when ``IOLoop`` iterations
21+
complete faster than the resolution of ``time.time()`` (mainly a problem
22+
on Windows).
23+
24+
Backwards-compatibility note
25+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26+
27+
* Listening for ``IOLoop.ERROR`` alone is no longer sufficient for detecting
28+
closed connections on an otherwise unused socket. ``IOLoop.ERROR`` must
29+
always be used in combination with ``READ`` or ``WRITE``.

0 commit comments

Comments
 (0)