企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
### Navigation - [index](# "General Index") - [modules](# "Python Module Index") | - [next](# "What鈥檚 new in Tornado 4.0.1") | - [previous](# "What鈥檚 new in Tornado 4.1") | - [Tornado 4.4.dev1 documentation](#) » - [Release notes](#) » # What's new in Tornado 4.0.2 ### Sept 10, 2014 ### Bug fixes - Fixed a bug that could sometimes cause a timeout to fire after beingcancelled. - [`AsyncTestCase`](# "tornado.testing.AsyncTestCase") once again passes along arguments to test methods,making it compatible with extensions such as Nose's test generators. - [`StaticFileHandler`](# "tornado.web.StaticFileHandler") can again compress its responses when gzip is enabled. - `simple_httpclient` passes its `max_buffer_size` argument to theunderlying stream. - Fixed a reference cycle that can lead to increased memory consumption. - [`add_accept_handler`](# "tornado.netutil.add_accept_handler") will now limit the number of times it will call[`accept`](https://docs.python.org/3.4/library/socket.html#socket.socket.accept "(in Python v3.4)") [https://docs.python.org/3.4/library/socket.html#socket.socket.accept] per [`IOLoop`](# "tornado.ioloop.IOLoop") iteration, addressing a potentialstarvation issue. - Improved error handling in [`IOStream.connect`](# "tornado.iostream.IOStream.connect") (primarily for FreeBSDsystems) © Copyright 2009-2016, The Tornado Authors. Created using [Sphinx](http://sphinx-doc.org/) 1.3.5.