Tornado 4.0.2 新特性¶

Sept 10, 2014¶

Bug fixes¶

  • Fixed a bug that could sometimes cause a timeout to fire after beingcancelled.
  • AsyncTestCase once again passes along arguments to test methods,making it compatible with extensions such as Nose’s test generators.
  • 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 will now limit the number of times it will callaccept per IOLoop iteration, addressing a potentialstarvation issue.
  • Improved error handling in IOStream.connect (primarily for FreeBSDsystems)

原文:

https://tornado-zh-cn.readthedocs.io/zh_CN/latest/releases/v4.0.2.html