(a)Smack 4.0.0-rc2 does not send closing stream element when disconnecting

Hi everyone, found problem with disconnect() method in SNAPSHOT-2014-05-03, it doesn’t send tag. Here logs:

SENT (0): <stream:stream to=“chatstage.quickblox.com” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

RCV (0): <?xml version='1.0'?><stream:stream xmlns=‘jabber:client’ xmlns:stream=‘http://etherx.jabber.org/streams’ from=‘chatstage.quickblox.com’ id=‘44ca7e96-e466-4252-a9c3-ceaae76131c7’ version=‘1.0’ xml:lang=‘en’>

RCV (0): stream:featuresPLAINANONYMOUSzlib</stream:features>

SENT (0): ADE4NTUxLTQzOAB2aWRlb0NoYXRVc2VyMQ==</ auth>

RCV (0):

SENT (0): <stream:stream to=“chatstage.quickblox.com” xmlns=“jabber:client” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

RCV (0): <?xml version='1.0'?><stream:stream xmlns=‘jabber:client’ xmlns:stream=‘http://etherx.jabber.org/streams’ from=‘chatstage.quickblox.com’ id=‘44ca7e96-e466-4252-a9c3-ceaae76131c7’ version=‘1.0’ xml:lang=‘en’>

SENT (0): Smack

RCV (0): stream:featureszlib</stream:features>

RCV (0): 18551-438@chatstage.quickblox.com/Smack

SENT (0):

RCV (0):

User logged (0): 18551-438@chatstage.quickblox.com@chatstage.quickblox.com:0/Smack

SENT (0):

RCV (0):

SENT (0):

Connection closed (0)

Should be fixed with 4.0.0-rc2-SNAPSHOT-2014-05-05

1 Like

Checked in 4.0.0-rc2-SNAPSHOT-2014-05-06, it works, thank you