diff --git a/MicroWebSrv2/libs/XAsyncSockets.py b/MicroWebSrv2/libs/XAsyncSockets.py index 836fed0..1507d9a 100644 --- a/MicroWebSrv2/libs/XAsyncSockets.py +++ b/MicroWebSrv2/libs/XAsyncSockets.py @@ -827,7 +827,7 @@ def CliAddr(self) : @property def IsSSL(self) : return ( hasattr(ssl, 'SSLContext') and \ - isinstance(self._socket, ssl.SSLSocket) ) + isinstance(self._socket, ssl.SSLContext) ) @property def SendingBuffer(self) :