osks / jskom

jskom is a web based LysKOM client, written in Javascript. It uses httpkom for communication with the LysKOM server.
https://jskom.osd.se/
MIT License
11 stars 3 forks source link

Possible stale connections by disconnected clients #41

Open albinsunnanbo opened 11 years ago

albinsunnanbo commented 11 years ago

When viewing the session list in LysLysKOM there is a high number of jskom users with abnormally long idle times, a page full of users with idle time more than 2 months. (Date format in image: d.hh:mm:ss) image Many of the session belong to the same users, up to 50 sessions per user, created one or two days apart. It really looks like most of the connections are stale.

Would it be possible to detect disconnected clients and close their sessions?

erikallemann commented 11 years ago

I don't know if this is an issue in the long run, but as a workaround a restart of httpkom dropped all sessions.