Hello community,

here is the log from the commit of package python-eventlet for openSUSE:Factory 
checked in at 2017-11-27 22:17:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-eventlet (Old)
 and      /work/SRC/openSUSE:Factory/.python-eventlet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-eventlet"

Mon Nov 27 22:17:44 2017 rev:25 rq:545726 version:0.20.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-eventlet/python-eventlet.changes  
2017-10-07 17:50:54.854648026 +0200
+++ /work/SRC/openSUSE:Factory/.python-eventlet.new/python-eventlet.changes     
2017-11-27 22:17:46.748011023 +0100
@@ -1,0 +2,7 @@
+Sun Nov 26 16:02:38 UTC 2017 - [email protected]
+
+- go back to a working version: downgrade to 0.20.1
+- add  0001-Fix-SSL-connection-reset-errors.patch to fix
+  hangs on SSL connections
+
+-------------------------------------------------------------------

Old:
----
  eventlet-0.21.0.tar.gz

New:
----
  0001-Fix-SSL-connection-reset-errors.patch
  eventlet-0.20.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-eventlet.spec ++++++
--- /var/tmp/diff_new_pack.xjZCRT/_old  2017-11-27 22:17:47.371988375 +0100
+++ /var/tmp/diff_new_pack.xjZCRT/_new  2017-11-27 22:17:47.371988375 +0100
@@ -18,13 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-eventlet
-Version:        0.21.0
+Version:        0.20.1
 Release:        0
 Summary:        Concurrent networking library for Python
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://eventlet.net
 Source:         
https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
+Patch0:         0001-Fix-SSL-connection-reset-errors.patch
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module greenlet}
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q -n eventlet-%{version}
+%patch0 -p1
 sed -i '/enum_compat/d' setup.py # crude way to drop the strange "enum-compat" 
requirement
 sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script
 

++++++ 0001-Fix-SSL-connection-reset-errors.patch ++++++
diff --git a/eventlet/wsgi.py b/eventlet/wsgi.py
index ef458aa..3c848b7 100644
--- a/eventlet/wsgi.py
+++ b/eventlet/wsgi.py
@@ -346,7 +346,12 @@ class HttpProtocol(BaseHTTPServer.BaseHTTPRequestHandler):
         except greenio.SSL.ZeroReturnError:
             self.raw_requestline = ''
         except socket.error as e:
-            if support.get_errno(e) not in BAD_SOCK:
+            last_errno = support.get_errno(e)
+            if last_errno in BROKEN_SOCK:
+                self.server.log.debug('(%s) connection reset by peer %r',
+                    self.server.pid,
+                    self.client_address)
+            elif last_errno not in BAD_SOCK:
                 raise
             self.raw_requestline = ''

++++++ eventlet-0.21.0.tar.gz -> eventlet-0.20.1.tar.gz ++++++
++++ 4990 lines of diff (skipped)


Reply via email to