Browse Source

CherryPy 8.1.2 - Fix last SSL-bug

pull/701/head
Safihre 9 years ago
parent
commit
1e72304c25
  1. 2
      INSTALL.txt
  2. 2
      SABnzbd.py
  3. 2
      cherrypy/VERSION.txt
  4. 3
      cherrypy/wsgiserver/__init__.py

2
INSTALL.txt

@ -83,7 +83,7 @@ Optional modules Unix/Linux/OSX
If not, you cannot use the NotifyOSD feature.
Embedded modules (preferably use the included version)
CherryPy-8.1.0 with patches http://www.cherrypy.org
CherryPy-8.1.2 with patches http://www.cherrypy.org
Unpack the ZIP-file containing the SABnzbd sources to any folder of your liking.

2
SABnzbd.py

@ -53,7 +53,7 @@ except:
import cherrypy
if [int(n) for n in cherrypy.__version__.split('.')] < [8, 1, 2]:
print 'Sorry, requires Python module Cherrypy 8.1.0+ (use the included version)'
print 'Sorry, requires Python module Cherrypy 8.1.2+ (use the included version)'
sys.exit(1)
from cherrypy import _cpserver

2
cherrypy/VERSION.txt

@ -1,4 +1,4 @@
CherryPy 8.1.0
CherryPy 8.1.2
Official distribution: https://github.com/cherrypy/cherrypy/releases
The folders 'tutorial', 'test' and 'scaffold' have been removed.
This file has been added.

3
cherrypy/wsgiserver/__init__.py

@ -1070,6 +1070,9 @@ class CP_makefile_PY2(getattr(socket, '_fileobject', object)):
self.bytes_read += len(data)
return data
except socket.error as e:
# Catch 'unknown ca' errors from builtin SSL-adapter
if len(e.args) > 1 and 'unknown ca' in e.args[1]:
return
if (e.args[0] not in socket_errors_nonblocking
and e.args[0] not in socket_error_eintr):
raise

Loading…
Cancel
Save