-
Modifying this:
} else { sid = UUID.fromString(sid_str); bs = sessions.get(sid); }
...to:
} else { try { sid = UUID.fromString(sid_str); bs = sessions.get(sid); } catch (Exception e) { log.log(Level.WARNING, "Yeah...then it happened", e); } }
..in tigase.server.bosh.BoshConnectionManager does the trick for me. Maybe the issue also exists in other connection managers.
Type |
Bug
|
Priority |
Minor
|
Assignee | |
RedmineID |
1891
|
Issue Votes (0)
Watchers (0)
StropheJS supports reusing an existing session which we do at our site. However we want to migrate from Ejabberd to Tigase, and Ejabberd sessions don't use UUID's.
The connection manager should probably handle bad SIDs by simply not finding a session.