Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
python-CherryPy.7051
ssl_fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ssl_fix.patch of Package python-CherryPy.7051
From 409d7f64e2e92e69750ac31a555c7dd859796e04 Mon Sep 17 00:00:00 2001 From: Lawouach <sh@defuze.org> Date: Sun, 7 Dec 2014 21:17:00 +0100 Subject: [PATCH] Fix #1298 for CPython 2.7 with the builtin ssl module and pyOpenSSL 0.14. However, this will break pyOpenSSL on Pypy for now. Until we find the most appropriate solution that is --- cherrypy/wsgiserver/wsgiserver2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cherrypy/wsgiserver/wsgiserver2.py b/cherrypy/wsgiserver/wsgiserver2.py index c197748e..8d8b04e4 100644 --- a/cherrypy/wsgiserver/wsgiserver2.py +++ b/cherrypy/wsgiserver/wsgiserver2.py @@ -1324,8 +1324,8 @@ class HTTPConnection(object): def __init__(self, server, sock, makefile=CP_fileobject): self.server = server self.socket = sock - self.rfile = makefile(sock._sock, "rb", self.rbufsize) - self.wfile = makefile(sock._sock, "wb", self.wbufsize) + self.rfile = makefile(sock, "rb", self.rbufsize) + self.wfile = makefile(sock, "wb", self.wbufsize) self.requests_seen = 0 def communicate(self):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor