AnsweredAssumed Answered

XMPPTCPConnection.isSmResumptionPossible returns always true in a case of reconnection

Question asked by Igor Khomenko on Nov 6, 2015
Latest reply on Nov 14, 2015 by Flow

Hi guys,

 

I use Smack 4.1.5 SNAPSHOT

 

and found an issue with XMPPTCPConnection.isSmResumptionPossible method,
it returns always true in a case of reconnection

 

I noticed that shutdownTimestamp is always null inside isSmResumptionPossible method after reconnection and as a result
you do Stream Resumption inside loginNonAnonymously method

 

 

In a case of reconnection and stream resumption enabled I guess you don't need to reset it in the method PacketWriter.init

Outcomes