Сonnections.

Why after that the physical connetion with ejaberd was lost the status of user doesn't switch to offline. They are still beening online?

Почему когда выдергиваем сетевой шнурок у клиента, пользователь отображается в Онлайне. Что сделать что бы он умирал при разрыве физического и любого другого коннекта а не оставался висеть?

I don't know particularly in

I don't know particularly in ejabberd, but in general, I think that a server has three ways to know that the connection with a client was lost:

  1. The client disconnected the right way
  2. The client crashed and the operating system closed the TCP connection
  3. The operating system crashed or the connection was lost. Since the TCP connection was not closed, the server will wait until the timeout passes.

How many time takes ejabberd to advertise that the connection with the client was lost?

Syndicate content