main: Break from the receive loop if there was a transport exception.
This commit is contained in:
parent
a513b82418
commit
fb5a889cca
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -304,6 +304,7 @@ def receive_cb(server_name, file_descriptor):
|
||||||
except (RemoteTransportError, RemoteProtocolError) as e:
|
except (RemoteTransportError, RemoteProtocolError) as e:
|
||||||
server.error(str(e))
|
server.error(str(e))
|
||||||
server.disconnect()
|
server.disconnect()
|
||||||
|
break
|
||||||
|
|
||||||
response = server.client.next_response()
|
response = server.client.next_response()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue