Bug #1475

Race condition in XEP-0198 negotiation

Added by devrandom over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:06/13/2013
Priority:HighDue date:
Assignee:devrandom% Done:

0%

Category:-
Target version:v12 - March Mantra
Component:XEP-0198

Description

Ge0rge: related to how SMACK parses stream features - the
reconnect callback often comes before stream-features have been received, thus SM
manager thinks SM is not possible

http://issues.igniterealtime.org/browse/SMACK-339 and
http://issues.igniterealtime.org/browse/SMACK-443

https://github.com/ge0rg/smack/master

Associated revisions

Revision 65e70fa4
Added by devrandom over 4 years ago

XEP-0198 fixes from Ge0rg

Set up connection listener and stream handler early with patched version of smack.
Prevent binding of null resource
Fixes #1475
Fixes #1181

Revision 276b8fe0
Added by devrandom over 4 years ago

XEP-0198: use new smack, fixes for race condition

Reconnection callback was triggered before SM was resumed.
Fixes #1475

Revision c2bced1e
Added by devrandom over 4 years ago

XEP-0198: another race condition

Fixes #1475

Revision dffae693
Added by devrandom over 4 years ago

XEP-0198: another race condition

Delay stream enablement until resource is bound for sure
Fix duplicate ServiceDiscoveryManager
Fixes #1475

History

#1 Updated by devrandom over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to devrandom

#2 Updated by n8fr8 over 4 years ago

  • Status changed from In Progress to Resolved

#3 Updated by n8fr8 about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF