Hello, We are using OpenSSL to connect to our XMPP server (ejabberd) using TLS encryption. We use the Smack library to do so.
When sending relatively big XMPP packets (actually VCard avatars) it happens randomly but often that our writer thread is blocked in the native write call: org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl nativewrite() org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl access$600() org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl $SSLOutputStream write() java.io.OutputStreamWriter flush() java.io.OutputStreamWriter convert() java.io.OutputStreamWriter write() java.io.bufferedWriter write() java.io.Writer write() java.io.Writer write() org.jivesoftware.smack.PacketWriter writePackets() We did a lot of testing to ensure that the issue is not server side, and we are convinced that there is a race condition somewhere is this stack of call that causes a deadlock. Unfortunately, we cannot give a way to reproduce this simply. Is there any know issue on that or a workaround ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---