Add full connection tests with encryption enabled.
This commit is contained in:
1 parent
ebee077303
commit
ab9ca6dfee
3 files changed
+112
-28
No files matched your search
@@ -73,6 +73,9 @@ class EncryptedFileObjectWrapper(object):
|
||||
def fileno(self):
|
||||
return self.actual_file_object.fileno()
|
||||
|
||||
def close(self):
|
||||
self.actual_file_object.close()
|
||||
|
||||
|
||||
class EncryptedSocketWrapper(object):
|
||||
def __init__(self, socket, encryptor, decryptor):
|
||||
@@ -88,3 +91,9 @@ class EncryptedSocketWrapper(object):
|
||||
|
||||
def fileno(self):
|
||||
return self.actual_socket.fileno()
|
||||
|
||||
def close(self):
|
||||
return self.actual_socket.close()
|
||||
|
||||
def shutdown(self, *args, **kwds):
|
||||
return self.actual_socket.shutdown(*args, **kwds)
|
||||
Reference in new issue
Block a user