Encrypted Livestatus with Python - Bug?

sock_ssl.shutdown(socket.SHUT_WR) is the problem, this must be commented out with ssl/tls .