adium 5121:276b23354bd1: Don't reconnect immediately when trying...

commits at adium.im commits at adium.im
Wed Oct 17 09:05:18 UTC 2012


details:	http://hg.adium.im/adium/rev/276b23354bd1
revision:	5121:276b23354bd1
branch:		adium-1.5.4
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Wed Oct 17 11:04:23 2012 +0200

Don't reconnect immediately when trying the buggy server workaround, as libpurple won't have updated its state for the account.

Refs #16081

diffs (12 lines):

diff -r 7118d14f1a55 -r 276b23354bd1 Plugins/Purple Service/ESPurpleJabberAccount.m
--- a/Plugins/Purple Service/ESPurpleJabberAccount.m	Wed Oct 17 01:11:38 2012 +0200
+++ b/Plugins/Purple Service/ESPurpleJabberAccount.m	Wed Oct 17 11:04:23 2012 +0200
@@ -503,7 +503,7 @@
 	else if (purple_account_get_bool([self purpleAccount],PURPLE_SSL_CDSA_BUGGY_TLS_WORKAROUND,false) &&
 			 [*disconnectionError isEqualToString:[NSString stringWithUTF8String:_("SSL Handshake Failed")]]) {
 		AILog(@"%@: Reconnecting immediately to try to work around buggy TLS stacks",self);
-		shouldAttemptReconnect = AIReconnectImmediately;
+		shouldAttemptReconnect = AIReconnectNormally;
 	}
 #endif
 	return shouldAttemptReconnect;




More information about the commits mailing list