mirror of
https://github.com/openkmip/pykmip
synced 2025-12-05 23:53:19 +00:00
Rely on close() to close sockets and stop using shutdown()
This commit is contained in:
@@ -113,7 +113,6 @@ class KmipSession(threading.Thread):
|
||||
self._logger.info("Failure handling message loop")
|
||||
self._logger.exception(e)
|
||||
|
||||
self._connection.shutdown(socket.SHUT_RDWR)
|
||||
self._connection.close()
|
||||
self._logger.info("Stopping session: {0}".format(self.name))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user