diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-13 00:33:49 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-13 00:33:49 +0000 |
commit | 52011b886bc031b99a1a359fa17b5e5469e2046d (patch) | |
tree | b1741fd470e0a5ed3cbdcf3f102fa8e9a5a6d15e /Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h | |
parent | a6ada15b76adec570758807136b6fc9c95c8b6f3 (diff) | |
download | sequelpro-52011b886bc031b99a1a359fa17b5e5469e2046d.tar.gz sequelpro-52011b886bc031b99a1a359fa17b5e5469e2046d.tar.bz2 sequelpro-52011b886bc031b99a1a359fa17b5e5469e2046d.zip |
Improve handling of network drops, including a new automatic reconnection attempt, as well as improved handling of networks not present. This addresses Issue #657.
In MCPKit:
- Disable MySQL automatic reconnection, and add our own reconnection code for greater consistency
- If no network is available, delay reconnects by a short period to allow the network to come back up
- Improved handling of proxy disconnects
In SPSSHTunnel:
- Improved handling of SSH tunnel disconnects, improving automatic reconnection via MCPKit and fixing potential memory/logic tramping.
Also remove the "Retry" button from the Disconnected dialog, leaving only the choices "Reconnect" or "Disconnect".
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h index 4b2e0cdb..7f9264ee 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h @@ -183,6 +183,7 @@ NSInteger isQueryingDbStructure; BOOL cancelQueryingDbStructure; BOOL lockQuerying; + BOOL canPerformAutomaticReconnect; // Pointers IMP cStringPtr; |