From 2584d085568e0da95f263282f6e87882153ff80ef3a6b4d26ffaf617ec7cf6c5 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 5 Oct 2011 00:00:01 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=202.1.1=20=20=20Bug=20fixes:=20?= =?UTF-8?q?=20=20-=20Fixed=20handling=20of=20closed=20connections=20with?= =?UTF-8?q?=20the=20epoll=20=20=20=20=20(i.e.=20Linux)=20IOLoop.=20Previou?= =?UTF-8?q?sly,=20closed=20connections=20could=20be=20=20=20=20=20shut=20d?= =?UTF-8?q?own=20too=20early,=20which=20most=20often=20manifested=20as=20?= =?UTF-8?q?=E2=80=9CStream=20=20=20=20=20is=20closed=E2=80=9D=20exceptions?= =?UTF-8?q?=20in=20SimpleAsyncHTTPClient.=20=20=20-=20Fixed=20a=20case=20i?= =?UTF-8?q?n=20which=20chunked=20responses=20could=20be=20closed=20=20=20?= =?UTF-8?q?=20=20prematurely,=20leading=20to=20truncated=20output.=20=20?= =?UTF-8?q?=20-=20IOStream.connect=20now=20reports=20errors=20more=20consi?= =?UTF-8?q?stently=20via=20=20=20=20=20logging=20and=20the=20close=20callb?= =?UTF-8?q?ack=20(this=20affects=20e.g.=20connections=20=20=20=20=20to=20l?= =?UTF-8?q?ocalhost=20on=20FreeBSD).=20=20=20-=20IOStream.read=5Fbytes=20a?= =?UTF-8?q?gain=20accepts=20both=20int=20and=20long=20arguments.=20=20=20-?= =?UTF-8?q?=20PeriodicCallback=20no=20longer=20runs=20repeatedly=20when=20?= =?UTF-8?q?IOLoop=20=20=20=20=20iterations=20complete=20faster=20than=20th?= =?UTF-8?q?e=20resolution=20of=20time.time()=20=20=20=20=20(mainly=20a=20p?= =?UTF-8?q?roblem=20on=20Windows).=20=20=20Backwards-compatibility=20note?= =?UTF-8?q?=20=20=20-=20Listening=20for=20IOLoop.ERROR=20alone=20is=20no?= =?UTF-8?q?=20longer=20sufficient=20for=20=20=20=20=20detecting=20closed?= =?UTF-8?q?=20connections=20on=20an=20otherwise=20unused=20socket.=20=20?= =?UTF-8?q?=20=20=20IOLoop.ERROR=20must=20always=20be=20used=20in=20combin?= =?UTF-8?q?ation=20with=20READ=20or=20=20=20=20=20WRITE.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=11 --- python-tornado.changes | 24 ++++++++++++++++++++++++ python-tornado.spec | 2 +- tornado-2.1.1.tar.bz2 | 3 +++ tornado-2.1.tar.bz2 | 3 --- 4 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 tornado-2.1.1.tar.bz2 delete mode 100644 tornado-2.1.tar.bz2 diff --git a/python-tornado.changes b/python-tornado.changes index ce52480..399119b 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Oct 4 23:57:09 UTC 2011 - alexandre@exatati.com.br + +- Update to 2.1.1 + Bug fixes: + - Fixed handling of closed connections with the epoll + (i.e. Linux) IOLoop. Previously, closed connections could be + shut down too early, which most often manifested as “Stream + is closed” exceptions in SimpleAsyncHTTPClient. + - Fixed a case in which chunked responses could be closed + prematurely, leading to truncated output. + - IOStream.connect now reports errors more consistently via + logging and the close callback (this affects e.g. connections + to localhost on FreeBSD). + - IOStream.read_bytes again accepts both int and long arguments. + - PeriodicCallback no longer runs repeatedly when IOLoop + iterations complete faster than the resolution of time.time() + (mainly a problem on Windows). + Backwards-compatibility note + - Listening for IOLoop.ERROR alone is no longer sufficient for + detecting closed connections on an otherwise unused socket. + IOLoop.ERROR must always be used in combination with READ or + WRITE. + ------------------------------------------------------------------- Wed Sep 21 11:27:02 UTC 2011 - alexandre@exatati.com.br diff --git a/python-tornado.spec b/python-tornado.spec index f516714..41c4408 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -16,7 +16,7 @@ # Name: python-tornado -Version: 2.1 +Version: 2.1.1 Release: 0 Url: http://www.tornadoweb.org Summary: Open source version of scalable, non-blocking web server that power FriendFeed diff --git a/tornado-2.1.1.tar.bz2 b/tornado-2.1.1.tar.bz2 new file mode 100644 index 0000000..c3eb90e --- /dev/null +++ b/tornado-2.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4535662144bfa9f73f49340040bb6c8db88628d8b9d85b57ae013203806c8e7c +size 275985 diff --git a/tornado-2.1.tar.bz2 b/tornado-2.1.tar.bz2 deleted file mode 100644 index 49a7de0..0000000 --- a/tornado-2.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19f289b6579bb03139c588caff394fc01fbf43fa30f686994a77c4d1dfe3d0d0 -size 275452