#1315 Implement c2s:closeall()

Reporter pep.
Owner Nobody
Stars ★ (1)
  • Type-Enhancement
  • Priority-Medium
  • Difficulty-Easy
  • Status-Started
  • Patch
  1. pep. on

    Description of feature: Close all active c2s connections, instead of doing it one by one with `c2s:close(jid)`. In the past I have used the following to do this: host:deactivate("example.com", { condition = "reset" }); config:reload(); host:activate("example.com") It actually does a bit more things though. Motivation: (Why?) Can be useful when we need clients to reconnect.

  2. Zash on

    Good idea, should be easy.

    • tags Status-Accepted Difficulty-Easy
  3. João Duarte on

    Hi. Trying to tackle this issue currently.

  4. Zash on

    • tags Patch Status-Started

New comment

Not published. Used for spam prevention and optional update notifications.