aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionHandler.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-02-20 01:22:45 +0000
committerrowanbeentje <rowan@beent.je>2013-02-20 01:22:45 +0000
commit6be2edae44406588125036771a6b030993ba58aa (patch)
tree3b5a6e93e0cf660f2b4e3229f7dce99ef5774785 /Source/SPConnectionHandler.m
parent36fa01d0c98481af4b6a17061ac94c0a5a0186fe (diff)
downloadsequelpro-6be2edae44406588125036771a6b030993ba58aa.tar.gz
sequelpro-6be2edae44406588125036771a6b030993ba58aa.tar.bz2
sequelpro-6be2edae44406588125036771a6b030993ba58aa.zip
- 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.
Diffstat (limited to 'Source/SPConnectionHandler.m')
-rw-r--r--Source/SPConnectionHandler.m7
1 files changed, 0 insertions, 7 deletions
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