evgs / BombusLime

Xmpp client for Android devices
http://bombus.im/lime/nightlies
GNU General Public License v2.0
15 stars 1 forks source link

SSLException: correct handling subclasses of this exception #24

Open evgs opened 12 years ago

evgs commented 12 years ago

Need individual handling for exceptions caused by wrong certificate (can't restart connection) and exceptions caused by network problems (connection should be restarted if network is available)

evgs commented 12 years ago

fixed in 10a0ff21657af99d86a91e5270095eb6e6411317

usecases to test:

  1. unknown certificate

2. disconnected while handshaking

3. disconnected after handshaking done

  1. expired certificate
evgs commented 12 years ago

https://github.com/rtreffer/smack/blob/master/source/org/jivesoftware/smack/XMPPConnection.java#L773