Projects tigase _server server-core Issues #303
Fix clients not disconnecting properly (#303)
wojciech.kapcia@tigase.net opened 1 decade ago

Currently some clients (it seems Psi), while logging off, sends unavailable presence and close the socket without closing the stream. In order to avoid missing packets handling session closing should be improved.

Andrzej Wójcik (Tigase) commented 1 decade ago

This should be fixed in 5.3.0-SNAPSHOT due to implementation of #1933. I just checked and it works as I think it should - disconnection is detected quite well and session is closed soon after that.

wojciech.kapcia@tigase.net commented 1 decade ago

I just tested and it doesn't seem to work. Simple test scenario:

  • connect 2 accounts in PSI;

  • start chat from userA to userB;

  • respond from userB to userA;

  • sign off userB;

  • send message from userA to userB (while the latter is offline, i.e. after receiving offline presence);

  • sign in userB;

  • message is neither delivered nor stored in the offline storage.

Andrzej Wójcik (Tigase) commented 1 decade ago

I tried to replicated this issue but without success. At first I was thinking that this issue might not appear due to enabled StreamManagement on server side (but not on client side), so I tried to replicate with StreamManagement not configured on server side. But in both cases message was sent to offline store and delivered when my test user reconnected.

wojciech.kapcia@tigase.net commented 1 decade ago

Can't reproduce it now as well - closing.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
1879
Version
tigase-server-7.0.0
Spent time
22h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#303
Please wait...
Page is in error, reload to recover