|
| 1 | +What's new in Tornado 6.5.9 |
| 2 | +=========================== |
| 3 | + |
| 4 | +Sep 14, 2026 |
| 5 | +------------ |
| 6 | + |
| 7 | +Security fixes |
| 8 | +~~~~~~~~~~~~~~ |
| 9 | + |
| 10 | +- `.StaticFileHandler` no longer follows symlinks outside of the static root directory. |
| 11 | + Applications that wish to continue the previous behavior may set the new argument |
| 12 | + ``allowed_symlink_directory`` to the directory (an ancestor of the static root) that |
| 13 | + should be used for symlink validation. Thanks to `afldl <https://github.com/afldl>`_ and |
| 14 | + `iaokhut-from-NightWolf-Team <https://github.com/iaokhut-from-NightWolf-Team>`_ for |
| 15 | + reporting this issue. |
| 16 | +- ``curl_httpclient`` has a new ``max_body_size`` argument (default 100MB, same as |
| 17 | + for ``simple_httpclient``). This limit is enforced on all requests, whether or not |
| 18 | + ``streaming_callback`` is used. ``curl_httpclient`` now also controls its memory usage |
| 19 | + when decompressing response bodies. Thanks to `afldl <https://github.com/afldl>`_, |
| 20 | + `iaohkut-from-NightWolf-Team <https://github.com/iaohkut-from-NightWolf-Team>`_, and |
| 21 | + `aoto-tech <https://github.com/aoto-tech>`_ for reporting this issue. |
| 22 | +- ``simple_httpclient`` now correctly applies the ``max_body_size`` limit to responses |
| 23 | + using HTTP/1.0 format (no ``Content-Length`` or ``Transfer-Encoding``). Previously it |
| 24 | + silently truncated such responses at ``max_buffer_size`` instead. Thanks to |
| 25 | + `afldl <https://github.com/afldl>`_ for reporting this issue. |
| 26 | +- ``simple_httpclient`` now rejects responses that use more than 10 ``100 Continue`` responses, |
| 27 | + which could previously cause stack overflow errors. Thanks to `afldl <https://github.com/afldl>`_ |
| 28 | + for reporting this issue. |
| 29 | +- The limit ``ParseBodyConfig.urlencoded.max_argument`` is now applied to URL arguments |
| 30 | + in addition to ``POST`` bodies. Thanks to |
| 31 | + `iaohkut-from-NightWolf-Team <https://github.com/iaohkut-from-NightWolf-Team>`_, |
| 32 | + `afldl <https://github.com/afldl>`_, and `manus-pi <https://github.com/manus-pi>`_ |
| 33 | + for reporting this issue. |
| 34 | + |
| 35 | +Bug fixes |
| 36 | +~~~~~~~~~ |
| 37 | + |
| 38 | +`tornado.iostream` |
| 39 | +~~~~~~~~~~~~~~~~~~ |
| 40 | + |
| 41 | +- ``.IOStream.read_until_close`` now reports errors correctly when a stream closes uncleanly |
| 42 | + or exceeds a memory limit. Previously it would report a successful read of whatever was in the |
| 43 | + buffer. |
0 commit comments