handle see-other-host at different state of connection (after authentication). Fixes #7179
This commit is contained in:
parent
f1a75255b4
commit
8d5ddb2d16
1 changed files with 6 additions and 1 deletions
|
@ -849,6 +849,11 @@ class Connection(CommonConnection, ConnectionHandlers):
|
||||||
else:
|
else:
|
||||||
# show error dialog
|
# show error dialog
|
||||||
self._connection_lost()
|
self._connection_lost()
|
||||||
|
else:
|
||||||
|
if self.redirected:
|
||||||
|
self.disconnect(on_purpose=True)
|
||||||
|
self.connect()
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
self.on_purpose = False
|
self.on_purpose = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue