Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improove error handling during TLS handshake #263

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@spaceone
Copy link
Contributor

commented Jan 24, 2019

if client already disconnected immediately.

Traceback (most recent call last):
  File "/home/spaceone/git/circuits/circuits/core/manager.py", line 834, in processTask
    value = next(task)
  File "/home/spaceone/git/circuits/circuits/net/sockets.py", line 614, in _accept
    self._on_accept_done(newsock)
  File "/home/spaceone/git/circuits/circuits/net/sockets.py", line 636, in _on_accept_done
    self.fire(connect(sock, *sock.getpeername()))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 107] Transport endpoint is not connected
Improove error handling during TLS handshake
if client already disconnected immediately.

Traceback (most recent call last):
  File "/home/spaceone/git/circuits/circuits/core/manager.py", line 834, in processTask
    value = next(task)
  File "/home/spaceone/git/circuits/circuits/net/sockets.py", line 614, in _accept
    self._on_accept_done(newsock)
  File "/home/spaceone/git/circuits/circuits/net/sockets.py", line 636, in _on_accept_done
    self.fire(connect(sock, *sock.getpeername()))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 107] Transport endpoint is not connected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.