Skip to content

Commit b7af4e8

Browse files
committed
Release notes and version bump for version 6.4.1
1 parent d65f6e7 commit b7af4e8

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

docs/releases.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release notes
44
.. toctree::
55
:maxdepth: 2
66

7+
releases/v6.4.1
78
releases/v6.4.0
89
releases/v6.3.3
910
releases/v6.3.2

docs/releases/v6.4.1.rst

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
What's new in Tornado 6.4.1
2+
===========================
3+
4+
Jun 6, 2024
5+
-----------
6+
7+
Security Improvements
8+
~~~~~~~~~~~~~~~~~~~~~
9+
10+
- Parsing of the ``Transfer-Encoding`` header is now stricter. Unexpected transfer-encoding values
11+
were previously ignored and treated as the HTTP/1.0 default of read-until-close. This can lead to
12+
framing issues with certain proxies. We now treat any unexpected value as an error.
13+
- Handling of whitespace in headers now matches the RFC more closely. Only space and tab characters
14+
are treated as whitespace and stripped from the beginning and end of header values. Other unicode
15+
whitespace characters are now left alone. This could also lead to framing issues with certain
16+
proxies.
17+
- ``tornado.curl_httpclient`` now prohibits carriage return and linefeed headers in HTTP headers
18+
(matching the behavior of ``simple_httpclient``). These characters could be used for header
19+
injection or request smuggling if untrusted data were used in headers.
20+
21+
General Changes
22+
~~~~~~~~~~~~~~~
23+
24+
`tornado.iostream`
25+
~~~~~~~~~~~~~~~~~~
26+
27+
- `.SSLIOStream` now understands changes to error codes from OpenSSL 3.2. The main result of this
28+
change is to reduce the noise in the logs for certain errors.
29+
30+
``tornado.simple_httpclient``
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
- ``simple_httpclient`` now prohibits carriage return characters in HTTP headers. It had previously
34+
prohibited only linefeed characters.
35+
36+
`tornado.testing`
37+
~~~~~~~~~~~~~~~~~
38+
39+
- `.AsyncTestCase` subclasses can now be instantiated without being associated with a test
40+
method. This improves compatibility with test discovery in Pytest 8.2.
41+

tornado/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
# is zero for an official release, positive for a development branch,
2323
# or negative for a release candidate or beta (after the base version
2424
# number has been incremented)
25-
version = "6.4"
26-
version_info = (6, 4, 0, 0)
25+
version = "6.4.1"
26+
version_info = (6, 4, 0, 1)
2727

2828
import importlib
2929
import typing

0 commit comments

Comments
 (0)