forked from pool/python-tornado
Accepting request 253530 from home:TheBlackCat:branches:devel:languages:python
Update to version 4.0.2 OBS-URL: https://build.opensuse.org/request/show/253530 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,71 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 1 15:23:31 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 4.0.2
|
||||||
|
+ Bug fixes
|
||||||
|
* Fixed a bug that could sometimes cause a timeout to fire after being
|
||||||
|
cancelled.
|
||||||
|
* `.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 the
|
||||||
|
underlying stream.
|
||||||
|
* Fixed a reference cycle that can lead to increased memory consumption.
|
||||||
|
* `.add_accept_handler` will now limit the number of times it will call
|
||||||
|
`~socket.socket.accept` per `.IOLoop` iteration, addressing a potential
|
||||||
|
starvation issue.
|
||||||
|
* Improved error handling in `.IOStream.connect` (primarily for FreeBSD
|
||||||
|
systems)
|
||||||
|
- Update to version 4.0.1
|
||||||
|
+ Bug fixes
|
||||||
|
* The build will now fall back to pure-python mode if the C extension
|
||||||
|
fails to build for any reason (previously it would fall back for some
|
||||||
|
errors but not others).
|
||||||
|
* `.IOLoop.call_at` and `.IOLoop.call_later` now always return
|
||||||
|
a timeout handle for use with `.IOLoop.remove_timeout`.
|
||||||
|
* If any callback of a `.PeriodicCallback` or `.IOStream` returns a
|
||||||
|
`.Future`, any error raised in that future will now be logged
|
||||||
|
(similar to the behavior of `.IOLoop.add_callback`).
|
||||||
|
* Fixed an exception in client-side websocket connections when the
|
||||||
|
connection is closed.
|
||||||
|
* ``simple_httpclient`` once again correctly handles 204 status
|
||||||
|
codes with no content-length header.
|
||||||
|
* Fixed a regression in ``simple_httpclient`` that would result in
|
||||||
|
timeouts for certain kinds of errors.
|
||||||
|
- Update to version 4.0.0
|
||||||
|
+ Highlights
|
||||||
|
* The `tornado.web.stream_request_body` decorator allows large files to be
|
||||||
|
uploaded with limited memory usage.
|
||||||
|
* Coroutines are now faster and are used extensively throughout Tornado itself.
|
||||||
|
More methods now return `Futures <.Future>`, including most `.IOStream`
|
||||||
|
methods and `.RequestHandler.flush`.
|
||||||
|
* Many user-overridden methods are now allowed to return a `.Future`
|
||||||
|
for flow control.
|
||||||
|
* HTTP-related code is now shared between the `tornado.httpserver`,
|
||||||
|
``tornado.simple_httpclient`` and `tornado.wsgi` modules, making support
|
||||||
|
for features such as chunked and gzip encoding more consistent.
|
||||||
|
`.HTTPServer` now uses new delegate interfaces defined in `tornado.httputil`
|
||||||
|
in addition to its old single-callback interface.
|
||||||
|
* New module `tornado.tcpclient` creates TCP connections with non-blocking
|
||||||
|
DNS, SSL handshaking, and support for IPv6.
|
||||||
|
+ See more release details at
|
||||||
|
http://www.tornadoweb.org/en/stable/releases/v4.0.0.html
|
||||||
|
- Update to version 3.2.2
|
||||||
|
+ Security fixes
|
||||||
|
* The XSRF token is now encoded with a random mask on each request.
|
||||||
|
This makes it safe to include in compressed pages without being
|
||||||
|
vulnerable to the `BREACH attack <http://breachattack.com>`_.
|
||||||
|
This applies to most applications that use both the ``xsrf_cookies``
|
||||||
|
and ``gzip`` options (or have gzip applied by a proxy).
|
||||||
|
+ Backwards-compatibility notes
|
||||||
|
* If Tornado 3.2.2 is run at the same time as older versions on the same
|
||||||
|
domain, there is some potential for issues with the differing cookie
|
||||||
|
versions. The `.Application` setting ``xsrf_cookie_version=1`` can
|
||||||
|
be used for a transitional period to generate the older cookie format
|
||||||
|
on newer servers.
|
||||||
|
+ Other changes
|
||||||
|
* ``tornado.platform.asyncio`` is now compatible with ``trollius`` version 0.3.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 20 13:05:18 UTC 2014 - toddrme2178@gmail.com
|
Tue May 20 13:05:18 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: python-tornado
|
Name: python-tornado
|
||||||
Version: 3.2.1
|
Version: 4.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.tornadoweb.org
|
Url: http://www.tornadoweb.org
|
||||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||||
@@ -27,12 +27,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-backports.ssl_match_hostname
|
BuildRequires: python-backports.ssl_match_hostname
|
||||||
BuildRequires: python-futures
|
BuildRequires: python-futures
|
||||||
|
BuildRequires: python-pycares
|
||||||
BuildRequires: python-pycurl
|
BuildRequires: python-pycurl
|
||||||
BuildRequires: python-simplejson
|
BuildRequires: python-simplejson
|
||||||
|
BuildRequires: python-Twisted
|
||||||
Requires: python-backports.ssl_match_hostname
|
Requires: python-backports.ssl_match_hostname
|
||||||
Requires: python-simplejson
|
Requires: python-simplejson
|
||||||
Recommends: python-futures
|
Recommends: python-futures
|
||||||
Recommends: python-Monotime
|
|
||||||
Recommends: python-pycares
|
Recommends: python-pycares
|
||||||
Recommends: python-pycurl
|
Recommends: python-pycurl
|
||||||
Recommends: python-Twisted
|
Recommends: python-Twisted
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4a5f0b1b381d80ec320c7c8f3265e6008afc527cc35b6c36d03acf18c21fcac6
|
|
||||||
size 403419
|
|
3
tornado-4.0.2.tar.gz
Normal file
3
tornado-4.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:900c5124ebdb6598ca8e8a0c5888f41a5f14117952d5515258e3d20222b21bfa
|
||||||
|
size 315841
|
Reference in New Issue
Block a user