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

Python3 ValueError: do_handshake_on_connect should not be specified for non-blocking sockets #111

Closed
jstasiak opened this issue Jul 17, 2014 · 1 comment

Comments

@jstasiak
Copy link
Contributor

test_connect_ssl (tests.api_test.TestApi) ... Traceback (most recent call last):
  File "/home/travis/build/eventlet/eventlet/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/home/travis/build/eventlet/eventlet/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
  File "/home/travis/build/eventlet/eventlet/eventlet/greenthread.py", line 207, in main
    result = function(*args, **kwargs)
  File "/home/travis/build/eventlet/eventlet/tests/api_test.py", line 69, in accept_once
    conn, addr = listenfd.accept()
  File "/home/travis/build/eventlet/eventlet/eventlet/green/ssl.py", line 279, in accept
    suppress_ragged_eofs=self.suppress_ragged_eofs)
  File "/home/travis/build/eventlet/eventlet/eventlet/green/ssl.py", line 46, in __init__
    super(GreenSSLSocket, self).__init__(sock.fd, *args, **kw)
  File "/opt/python/3.3.5/lib/python3.3/ssl.py", line 345, in __init__
    raise ValueError("do_handshake_on_connect should not be specified for non-blocking sockets")
ValueError: do_handshake_on_connect should not be specified for non-blocking sockets
@jstasiak jstasiak self-assigned this Jul 17, 2014
@jstasiak
Copy link
Contributor Author

jstasiak commented Oct 6, 2014

This is fixed in python3 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants