Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
python-eventlet
0001-Fix-SSL-connection-reset-errors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-SSL-connection-reset-errors.patch of Package python-eventlet
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 = ''
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