Adium

Changeset 22665

Show
Ignore:
Timestamp:
02/21/2008 07:53:22 PM (9 months ago)
Author:
evands
Message:

Merged [22664]: Reconnect after an 'SSL Connection Failed' message in addition to 'SSL Handshake Failed'. Fixes #9214

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/adium-1.2/Plugins/Purple Service/CBPurpleAccount.m

    r22633 r22665  
    17471747                reconnectDelayType = AIReconnectNever; 
    17481748 
    1749         } else if (disconnectionError && [*disconnectionError isEqualToString:[NSString stringWithUTF8String:_("SSL Handshake Failed")]]) { 
     1749        } else if (disconnectionError && ([*disconnectionError isEqualToString:[NSString stringWithUTF8String:_("SSL Handshake Failed")]] || 
     1750                                                                          [*disconnectionError isEqualToString:[NSString stringWithUTF8String:_("SSL Connection Failed")]])) { 
    17501751                /* This particular message comes with PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR, which is a 'fatal' error according to libpurple. Other problems 
    17511752                 * with that message may be fatal, but this one isn't.