This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author metachris
Recipients metachris
Date 2010-07-09.09:51:48
SpamBayes Score 0.006122944
Marked as misclassified No
Message-id <1278669109.79.0.953444891983.issue9211@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2010-07-09 09:51:49metachrissetrecipients: + metachris
2010-07-09 09:51:49metachrissetmessageid: <1278669109.79.0.953444891983.issue9211@psf.upfronthosting.co.za>
2010-07-09 09:51:48metachrislinkissue9211 messages
2010-07-09 09:51:48metachriscreate