From d65f9ee4ed774698fbc627be494ffdbca08f5db5 Mon Sep 17 00:00:00 2001 From: AaronDMarasco Date: Wed, 30 Oct 2019 00:35:22 +0000 Subject: [PATCH] Fix documentation error in transport re: SSL/TLS --- stomp/transport.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stomp/transport.py b/stomp/transport.py index 529c49e8..fe0f34dc 100644 --- a/stomp/transport.py +++ b/stomp/transport.py @@ -104,7 +104,8 @@ def start(self): """ Start the connection. This should be called after all listeners have been registered. If this method is not called, - no frames will be received by the connection. + no frames will be received by the connection and no SSL/TLS + handshake will occur. """ self.running = True self.attempt_connection() @@ -726,7 +727,7 @@ def attempt_connection(self): connect_count = 0 while self.running and self.socket is None and ( - connect_count < self.__reconnect_attempts_max or + connect_count < self.__reconnect_attempts_max or self.__reconnect_attempts_max == -1 ): for host_and_port in self.__host_and_ports: try: