File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Release notes
4
4
.. toctree ::
5
5
:maxdepth: 2
6
6
7
+ releases/v2.1.1
7
8
releases/v2.1.0
8
9
releases/v2.0.0
9
10
releases/v1.2.1
Original file line number Diff line number Diff line change
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 ``.
You can’t perform that action at this time.
0 commit comments