1. 23 4月, 2018 2 次提交
    • B
      iostream: Deprecate streaming_callback arguments · 172557e4
      Ben Darnell 提交于
      Currently, mixing futures and streaming_callback does not guarantee
      ordering (so the returned future could become ready before the last
      streaming_callback fires). Specifically, this happens with
      test_streaming_read_until_close_after_close if that test is modified
      to not use the callback argument. This would cause problems when we
      remove the callback argument if we left streaming_callback in place.
      
      These problems are solvable, but probably not worth it since
      partial=True is an alternative (and used internally instead of
      streaming_callback).
      172557e4
    • B
      iostream: Deprecate callback arguments to read methods · 58067883
      Ben Darnell 提交于
      This requires a lot of mechanical changes throughout the test suite.
      tornado.websocket is currently still using the deprecated interfaces
      and suppressing the warning.
      58067883
  2. 22 4月, 2018 6 次提交
  3. 21 4月, 2018 3 次提交
  4. 14 4月, 2018 1 次提交
  5. 13 4月, 2018 1 次提交
  6. 09 4月, 2018 10 次提交
  7. 08 4月, 2018 3 次提交
  8. 07 4月, 2018 2 次提交
    • B
      Merge pull request #2338 from bdarnell/periodic-callback · 8fd1f9b2
      Ben Darnell 提交于
      ioloop: Fix PeriodicCallback when system clock moves backwards
      8fd1f9b2
    • B
      ioloop: Fix PeriodicCallback when system clock moves backwards · 88664396
      Ben Darnell 提交于
      If the clock moves backwards a little bit, we could run a
      PeriodicCallback twice in a row prior to this change.
      
      Due to implementation differences between the Tornado and asyncio
      event loops, this is most common when using the asyncio event loop on
      windows (where in some environments differences between time.time()
      and time.monotonic() can result in behavior that looks like small
      backwards time jumps on every iteration), although it can in principle
      occur in any environment.
      
      Fixes #2333
      88664396
  9. 01 4月, 2018 1 次提交
  10. 26 3月, 2018 4 次提交
  11. 25 3月, 2018 1 次提交
  12. 24 3月, 2018 2 次提交
  13. 19 3月, 2018 4 次提交