Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3511
|
Version |
tigase-server-7.1.0
|
Spent time |
69h
|
Related
Issue Votes (0)
Watchers (0)
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3511
|
Version |
tigase-server-7.1.0
|
Spent time |
69h
|
Currently Tigase XMPP Server when receives TCP connection close in any client connection manager then it notifies SessionManager about this using command with SYSTEM priority.
Other packet which were sent just before TCP close are sent to SessionManager with NORMAL priority which makes it possible that session is closed in SessionManager before packets sent before connection close are properly processed.
To make sure this works correctly we should keep current priority of close command to notify SessionManager that this connection is closed for outgoing packets but we should add new command with NORMAL priority to fully remove session in SessionManager as command with NORMAL priority will be processed after all packets received before connection is closed.