[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmpp] 3921bis: probe to full JID?



On 1/29/10 11:21 AM, Justin Karneges wrote:
> On Friday 29 January 2010 03:09:05 you wrote:
>> Hi,
>>
>> On Fri, Jan 29, 2010 at 4:22 AM, Justin Karneges <justin at affinix.com> wrote:
>>> Any sent stanza acts as a probe here, at least for discovering s2s
>>> connection errors.  If enough time passes in a room and nobody has
>>> joined, changed status, left, or sent a message, then it's probably not
>>> unreasonable to suggest that all of the participants be sent /something/
>>> to induce a bounce.
>>
>> Agreed, but /something/ need not be a presence probe, given that you
>> would be asking the wrong question.
>>
>> With a presence probe you are asking "are you still online?", but what
>> you want is "are you still connected to this room?".
> 
> Actually the presence probe is the right question.  That is the one which 
> asks, "are you still connected to this room?" because it finds out if the 
> user's server still believes the MUC is allowed to have the user's presence.
> 
> If we want to ask the lesser question: "are you still online?", then I suggest 
> the MUC send the user's own presence again to himself.  Maybe this the 
> harmless one-way communication we can suggest in XEP-0045?

Hmm, it seems that version -03 of 3921bis already contained this text:

   If a server receives a presence probe intended for a full JID
   <contact at domain/resource>, it SHOULD handle it on behalf of the
   connected resource by returning only the presence information for
   that particular resource (and in any case MUST NOT deliver it to the
   resource).

I can't even read my own specs...

Peter

-- 
Peter Saint-Andre
https://stpeter.im/



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.