HTHou commented on code in PR #14789:
URL: https://github.com/apache/iotdb/pull/14789#discussion_r1943892798
##########
iotdb-client/client-py/iotdb/Session.py:
##########
@@ -175,9 +184,18 @@ def open(self, enable_rpc_compression=False):
}
def init_connection(self, endpoint):
- transport = TTransport.TFramedTransport(
- TSocket.TSocket(endpoint.ip, endpoint.port)
- )
+ if self.__use_ssl:
+ context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
Review Comment:
Python client uses PROTOCOL_TLSv1_2. Is Java client using the same protocol
version?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]