Commit 7230d9db authored by Benjamin Peterson's avatar Benjamin Peterson

allow any socket error for rude shutdown test

parent 05a3fb71
......@@ -2134,7 +2134,7 @@ else:
listener_gone.wait()
try:
ssl_sock = ssl.wrap_socket(c)
except ssl.SSLError:
except socket.error:
pass
else:
self.fail('connecting to closed SSL socket should have failed')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment