Skip to content

Commit

Permalink
Merge pull request #259 from AaronDMarasco/fix_transport_start_doc
Browse files Browse the repository at this point in the history
Fix documentation error in transport re: SSL/TLS
  • Loading branch information
jasonrbriggs authored Dec 3, 2019
2 parents 0f35999 + d65f9ee commit 3e0e08e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stomp/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3e0e08e

Please sign in to comment.