Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (24 sloc) 1.118 kB
ea25c04 @bdarnell Add release notes for 2.1.1
bdarnell authored
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``.
Something went wrong with that request. Please try again.