ejabberd - Comments for "ejabberd shows user is online till 30 seconds when switch off wi-fi or close the internet." https://www.ejabberd.im/node/18451 en ejabberd shows user is https://www.ejabberd.im/node/18451#comment-65196 <p>The TCP stack won't notify ejabberd when the connection is lost without being closed properly. You could modify <code>mod_ping</code> to expect a quicker response from the client, but of course you need to wait <em>some</em> number of seconds so you don't kill off connections that are still alive. There's no way to get an instant notification when a TCP connection is lost.</p> Mon, 29 Dec 2014 14:05:33 +0000 holger comment 65196 at https://www.ejabberd.im ejabberd shows user is https://www.ejabberd.im/node/18451#comment-65195 <p>I have same problem, and searched a lot to find a solution. No result yet...</p> Mon, 29 Dec 2014 13:05:32 +0000 dophlin comment 65195 at https://www.ejabberd.im