From 6be2edae44406588125036771a6b030993ba58aa Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 20 Feb 2013 01:22:45 +0000 Subject: - Default to disabling SSH multiplexing to avoid connection issues as per Issue #1457; leave multiplexing code present, but behind a preference. Run `defaults write com.sequelpro.SequelPro -boolean YES` to re-enable. --- Source/SPConnectionHandler.m | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/SPConnectionHandler.m') diff --git a/Source/SPConnectionHandler.m b/Source/SPConnectionHandler.m index ce42c17b..77cfe083 100644 --- a/Source/SPConnectionHandler.m +++ b/Source/SPConnectionHandler.m @@ -380,13 +380,6 @@ static NSString *SPLocalhostAddress = @"127.0.0.1"; if (newState == SPMySQLProxyIdle) { - // If the connection closed unexpectedly, and muxing was enabled, disable muxing an re-try. - if ([theTunnel taskExitedUnexpectedly] && [theTunnel connectionMuxingEnabled]) { - [theTunnel setConnectionMuxingEnabled:NO]; - [theTunnel connect]; - return; - } - #ifndef SP_CODA [dbDocument setTitlebarStatus:NSLocalizedString(@"SSH Disconnected", @"SSH disconnected titlebar marker")]; #endif -- cgit v1.2.3