From 982a7e52d29954e9bcea233ceb6bc2f72721612d Mon Sep 17 00:00:00 2001 From: Anqi Date: Fri, 24 May 2024 11:28:59 +0800 Subject: [PATCH] update the default status for connection --- nebula3/gclient/net/Connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebula3/gclient/net/Connection.py b/nebula3/gclient/net/Connection.py index b6501945..03c58a78 100644 --- a/nebula3/gclient/net/Connection.py +++ b/nebula3/gclient/net/Connection.py @@ -44,7 +44,7 @@ def __init__(self): self._ssl_conf = None self.use_http2 = False self.http_headers = None - self._closed = False + self._closed = True def open(self, ip, port, timeout, use_http2=False, http_headers=None): """open the connection