You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/06/11 15:31:41 UTC

[Bug 57974] getOpenSessions() bug

https://bz.apache.org/bugzilla/show_bug.cgi?id=57974

--- Comment #1 from dstojkov <ds...@yahoo.fr> ---
Actually the endpoint share all the sessions with others Endpoints no matter if
it is through login/password or not. 

I dont know how you implemented it but this should be something like:

...
private Map<Endpoint, List<Sessions>>  endPointMappers
...
Set<Sessions> getSessions(Endpoint ep) {
    synchronized(lock) {
        return new TreeSet<>(endPointMappers.get(ep));
    }
}


Any fix in view ? Or at least a comment on this ? This make the use of
websockets a true nightmare

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org