]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Release notes and version bump for version 6.4.1 3388/head
authorBen Darnell <ben@bendarnell.com>
Thu, 6 Jun 2024 17:56:41 +0000 (13:56 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 6 Jun 2024 18:07:16 +0000 (14:07 -0400)
docs/releases.rst
docs/releases/v6.4.1.rst [new file with mode: 0644]
tornado/__init__.py

index da8dd597a8e994402fbdf8f379b2c234ab39d7a3..8a0fad4c2f040c5b6cd30680a870af7ecacfe630 100644 (file)
@@ -4,6 +4,7 @@ Release notes
 .. toctree::
    :maxdepth: 2
 
+   releases/v6.4.1
    releases/v6.4.0
    releases/v6.3.3
    releases/v6.3.2
diff --git a/docs/releases/v6.4.1.rst b/docs/releases/v6.4.1.rst
new file mode 100644 (file)
index 0000000..8d72b2b
--- /dev/null
@@ -0,0 +1,41 @@
+What's new in Tornado 6.4.1
+===========================
+
+Jun 6, 2024
+-----------
+
+Security Improvements
+~~~~~~~~~~~~~~~~~~~~~
+
+- Parsing of the ``Transfer-Encoding`` header is now stricter. Unexpected transfer-encoding values
+  were previously ignored and treated as the HTTP/1.0 default of read-until-close. This can lead to
+  framing issues with certain proxies. We now treat any unexpected value as an error.
+- Handling of whitespace in headers now matches the RFC more closely. Only space and tab characters
+  are treated as whitespace and stripped from the beginning and end of header values. Other unicode
+  whitespace characters are now left alone. This could also lead to framing issues with certain
+  proxies. 
+- ``tornado.curl_httpclient`` now prohibits carriage return and linefeed headers in HTTP headers
+  (matching the behavior of ``simple_httpclient``). These characters could be used for header
+  injection or request smuggling if untrusted data were used in headers.
+
+General Changes
+~~~~~~~~~~~~~~~
+
+`tornado.iostream`
+~~~~~~~~~~~~~~~~~~
+
+- `.SSLIOStream` now understands changes to error codes from OpenSSL 3.2. The main result of this
+  change is to reduce the noise in the logs for certain errors.
+
+``tornado.simple_httpclient``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- ``simple_httpclient`` now prohibits carriage return characters in HTTP headers. It had previously
+  prohibited only linefeed characters.
+
+`tornado.testing`
+~~~~~~~~~~~~~~~~~
+
+- `.AsyncTestCase` subclasses can now be instantiated without being associated with a test
+  method. This improves compatibility with test discovery in Pytest 8.2.
+
index a0ae714d3ed0fde0adfe2766b44bb252a6f689d8..f542de355882b0fe9a67e1aed70f3a71ca46f93b 100644 (file)
@@ -22,8 +22,8 @@
 # is zero for an official release, positive for a development branch,
 # or negative for a release candidate or beta (after the base version
 # number has been incremented)
-version = "6.4"
-version_info = (6, 4, 0, 0)
+version = "6.4.1"
+version_info = (6, 4, 0, 1)
 
 import importlib
 import typing