#1124 c2s sessions are referenced in two not entirely overlapping tables

Reporter Zash
Owner Nobody
Stars ★ (1)  
  • Priority-Medium
  • Type-Defect
  • Status-Accepted
  1. Zash on

    The shared /*/c2s/sessions table contains all connected sessions, including unauthed ones. The prosody.full_sessions table has all resource-bound session, including (if mod_smacks is used) hibernating ones. Having two separate sets of sessions makes it difficult when you idealy want to have the union of both, eg in mod_admin_telnet, the c2s:show() command currently uses the shared table, resulting in hibernating sessions not being shown.

  2. Zash on

    Also, BOSH sessions are in yet another shared table or two.

New comment