Christian Hager <metaka...@gmail.com> added the comment:

Sorry for posting that issue -- I was able to solve it with 
newsock.shutdown(socket.SHUT_WR) ("newsock.shutdown(socket.SHUT_RD)" doesn't 
work for that).

# SSL Setup
try:
    sslsock = ssl.wrap_socket(newsock, server_side=True, 
certfile="../cert.pem", keyfile="../cert.pem")
    CONNECTION_LIST.append(sslsock)

except:
    print "ssl handshake failed"
    newsock.shutdown(socket.SHUT_WR)
    newsock.close()

----------
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9211>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to