mirror of
https://github.com/openkmip/pykmip
synced 2025-12-15 15:53:36 +00:00
Fixing bug terminating connection prematurely
This change fixes a bug with the KmipSession connection handling logic that would terminate the connection before actually receiving a termination from the client. The corresponding unit tests have been updated to reflect this fix.
This commit is contained in:
@@ -211,6 +211,14 @@ class ConfigurationError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ConnectionClosed(Exception):
|
||||
"""
|
||||
An exception generated when attempting to use a connection that has been
|
||||
closed.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class NetworkingError(Exception):
|
||||
"""
|
||||
An error generated when a problem occurs with client or server networking
|
||||
|
||||
Reference in New Issue
Block a user