Projects tigase _server server-core Issues #197
see-other-host redirection on USER_LOGIN command (#197)
Closed
Artur Hefczyc opened 1 decade ago

Right now the see-other-host redirection only occurs on stream open event and only when the user/client includes own JID in the stream open element which happens rarely for standard clients.

It has been just implemented a new command between the SessionManager and the ConnectionManager called USER_LOGIN which is sent from the SM to CM on successful user login (and resource bind) with user's JID as a data. Right now the CM can execute see-other-host redirection after user login when it received this command.

We need a redirection at least for c2s connections but ideally it should also work for Bosh clients as well, especially that it is already implemented to some extent.

wojciech.kapcia@tigase.net commented 1 decade ago

resolved;

added new configuration option for see-other-host:

(c2s|bosh|ws2c)/cm-see-other-host/active=(OPEN|LOGIN|OTHER) denoting in which phase redirects should be active with default value set to OPEN

issue 1 of 1
Type
Task
Priority
Major
Assignee
RedmineID
1099
Version
tigase-server-5.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#197
Please wait...
Page is in error, reload to recover