diff options
author | rowanbeentje <rowan@beent.je> | 2009-06-03 00:05:36 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-06-03 00:05:36 +0000 |
commit | 7f8a32e9d118c6f7d84d988a6f2462a8a2c9b085 (patch) | |
tree | 1a812cd0a02000a56652be12537cd0b2f6fb05b9 /Source/CMMCPConnection.m | |
parent | 1b339bc5b4c5e405855c0ef9bccc819b3c68be67 (diff) | |
download | sequelpro-7f8a32e9d118c6f7d84d988a6f2462a8a2c9b085.tar.gz sequelpro-7f8a32e9d118c6f7d84d988a6f2462a8a2c9b085.tar.bz2 sequelpro-7f8a32e9d118c6f7d84d988a6f2462a8a2c9b085.zip |
- Fix SSH tunnels on PPC
- Improve general SSH tunnel stability and automatic reconnection on failure
- Improve handling of failed SSH tunnel passwords
Diffstat (limited to 'Source/CMMCPConnection.m')
-rw-r--r-- | Source/CMMCPConnection.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m index b7fc230f..c5e14567 100644 --- a/Source/CMMCPConnection.m +++ b/Source/CMMCPConnection.m @@ -444,7 +444,9 @@ static void forcePingTimeout(int signalNumber); // Restart the tunnel if it dies if (mConnected && newState == SPSSH_STATE_IDLE && currentSSHTunnelState == SPSSH_STATE_CONNECTED) { currentSSHTunnelState = newState; + [connectionTunnel setConnectionStateChangeSelector:nil delegate:nil]; [self reconnect]; + return; } currentSSHTunnelState = newState; |