File tree 3 files changed +44
-2
lines changed
3 files changed +44
-2
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/v6.4.1
7
8
releases/v6.4.0
8
9
releases/v6.3.3
9
10
releases/v6.3.2
Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change 22
22
# is zero for an official release, positive for a development branch,
23
23
# or negative for a release candidate or beta (after the base version
24
24
# 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 )
27
27
28
28
import importlib
29
29
import typing
You can’t perform that action at this time.
0 commit comments