[ejabberd] Why the use is still online when the client cut off the network

Bo Shi cnshibo at gmail.com
Wed Mar 27 07:10:55 MSK 2013


if add the ping module, server will detect client offline if do not get
pong resp...
please refer the doc to config ping module.

On Wed, Mar 27, 2013 at 10:55 AM, 郎咸武 <langxianzhe at gmail.com> wrote:

> This is not ping module config question.
> Generally speaking, The  user send Unavailable Presence  when  the user
> offline. The roster of users can receive it, and change the state.
> But cut off the network  , what is happens? I am not sure.
>
> 2013/3/27 Anurag Srivastava <anurag.cs at gmail.com>
>
>> How to config the ping module??
>>
>> Regards,
>> Anurag
>>
>>
>> On Tue, Mar 26, 2013 at 5:15 AM, Bo Shi <cnshibo at gmail.com> wrote:
>>
>>> You may need to config the ping module
>>>
>>> Bo
>>>
>>> 在 2013年3月26日星期二,孙明欣 写道:
>>>
>>> **
>>>> Hi,
>>>> I log in to ejabberd server with a xmpp client, for example, Pandion or
>>>> my own client developed with smack. When I cut off the network (disable
>>>> wifi) of the client PC, the server shows the user is still online (I check
>>>> this with the web console). And it would not be offline even after 10 more
>>>> minutes.
>>>>
>>>> Does anybody know how could I config the ejabberd to make it can
>>>> immediately check such status change.
>>>>
>>>> Thanks.
>>>>
>>>> ------------------------------
>>>> smx
>>>>
>>>
>>> _______________________________________________
>>> ejabberd mailing list
>>> ejabberd at jabber.ru
>>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>>
>>>
>>
>>
>> --
>> Anurag Srivastava
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>>
>
>
> --
> 只为成功找方法,不为失败找理由
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20130327/263dbb98/attachment.html>


More information about the ejabberd mailing list