do not connect if inline script already connected to upstream server

This commit is contained in:
Maximilian Hils 2014-08-12 02:55:32 +02:00
parent e546af2d33
commit da3e7c0187
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class ConnectionHandler:
self.determine_conntype()
self.channel.ask("clientconnect", self)
if self.server_conn:
if self.server_conn and not self.server_conn.connection:
self.establish_server_connection()
if client_ssl or server_ssl:
self.establish_ssl(client=client_ssl, server=server_ssl)