2
0
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:
Peter
2016-04-05 08:43:51 -04:00
parent 77f1b1223c
commit b2714002b6
3 changed files with 46 additions and 13 deletions

View File

@@ -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