- 27 4月, 2018 2 次提交
-
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
This method eliminates the need to use the asynchronous decorator on handlers that may call detach.
-
- 24 4月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
iostream: Deprecate callback-based interfaces
-
- 23 4月, 2018 7 次提交
-
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
This avoids the deprecated IOStream interfaces and simplifies things a bit.
-
由 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).
-
由 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.
-
- 22 4月, 2018 7 次提交
-
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
httputil: Deprecate some server-side HTTP interfaces
-
由 Ben Darnell 提交于
This is mainly preparation for HTTP/2: request.write was designed to mix headers and bodies in a way that is no longer supported.
-
由 Ben Darnell 提交于
This method is not actually redundant with HTTPMessageDelegate.on_connection_close (maybe there is a useful refactoring that would make it so, but for now it's still useful)
-
由 Ben Darnell 提交于
test: Reinstate a test that was mistakenly left disabled
-
由 Ben Darnell 提交于
This reportedly works around https://github.com/pypa/pip/issues/5240
-
由 Ben Darnell 提交于
This test required some refactoring to construct invalid headers that we no longer allow handlers to return directly.
-
- 21 4月, 2018 3 次提交
-
-
由 Ben Darnell 提交于
docs: Remove repeated lines.
-
由 Ben Darnell 提交于
Added RequestHandler.on_finish() to FallbackHandler.preapre()
-
由 Ben Darnell 提交于
Add flow control to websocket client
-
- 14 4月, 2018 1 次提交
-
-
由 sinwar 提交于
It removes repeated lines in docs for release 5.0.0
-
- 13 4月, 2018 1 次提交
-
-
由 Min RK 提交于
reduces likelihood of alignment with many similar timers
-
- 09 4月, 2018 10 次提交
-
-
由 Will McGugan 提交于
-
由 Will McGugan 提交于
-
由 Ben Darnell 提交于
httpclient: Deprecate fetch callback, narrow `raise_error`
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
This code is currently not exercised in CI.
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
This avoids collisions in code that must deal with both httpclient.HTTPError and web.HTTPError.
-
由 Ben Darnell 提交于
Give it the same deprecation behavior as AsyncHTTPClient.fetch
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
- 08 4月, 2018 3 次提交
-
-
由 Liran Haimovitch 提交于
-
由 Ben Darnell 提交于
-
由 Ben Darnell 提交于
-
- 07 4月, 2018 2 次提交
-
-
由 Ben Darnell 提交于
ioloop: Fix PeriodicCallback when system clock moves backwards
-
由 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
-
- 01 4月, 2018 1 次提交
-
-
由 Ben Darnell 提交于
This permits it to be tested separately from the (now python 2.7-only) IOLoop configuration.
-
- 26 3月, 2018 2 次提交
-
-
由 Ben Darnell 提交于
asyncio: Fix a leak when event loops are created and destroyed
-
由 Ben Darnell 提交于
Eliminate a confusing error message when this occurs. Fixes #2325
-