Re: [xmpp] 3921bis: probe + unavailable
Jonathan Schleifer <js-xmppwg@webkeks.org> Fri, 29 January 2010 21:13 UTC
Return-Path: <js-xmppwg@webkeks.org>
X-Original-To: xmpp@core3.amsl.com
Delivered-To: xmpp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 19AFA3A6939 for <xmpp@core3.amsl.com>; Fri, 29 Jan 2010 13:13:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fr0RFV-02OIp for <xmpp@core3.amsl.com>; Fri, 29 Jan 2010 13:13:06 -0800 (PST)
Received: from webkeks.org (webkeks.org [IPv6:2a01:170:103b::1]) by core3.amsl.com (Postfix) with ESMTP id C77A43A6909 for <xmpp@ietf.org>; Fri, 29 Jan 2010 13:13:05 -0800 (PST)
Received: from avalon.webkeks.org (avalon.webkeks.org [192.168.1.12]) (Authenticated sender: js) by webkeks.org (Postfix) with ESMTP id CB172CFEF for <xmpp@ietf.org>; Fri, 29 Jan 2010 22:13:27 +0100 (CET)
Message-Id: <12A2144C-5AEB-44B4-BFC6-C8D8DC66CC3E@webkeks.org>
From: Jonathan Schleifer <js-xmppwg@webkeks.org>
To: XMPP <xmpp@ietf.org>
In-Reply-To: <4B62F78E.1030400@stpeter.im>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Fri, 29 Jan 2010 22:13:26 +0100
References: <4B6202CF.6070702@stpeter.im> <14795.1264714828.295077@puncture> <42E4D3A6-6F8A-4005-8563-18F8CF934971@webkeks.org> <4B62F78E.1030400@stpeter.im>
X-Mailer: Apple Mail (2.936)
Subject: Re: [xmpp] 3921bis: probe + unavailable
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Jan 2010 21:13:09 -0000
Am 29.01.2010 um 15:58 schrieb Peter Saint-Andre: > On 1/29/10 5:41 AM, Jonathan Schleifer wrote: >> Am 28.01.2010 um 22:40 schrieb Dave Cridland: >> >>> So a note's needed at minimum to explain that this didn't used to >>> be a >>> requirement, and clients (and servers) SHOULD cope with no >>> response as >>> meaning unavailable. > > The default is always unavailable. If you receive positive <presence/> > then you have some clue that the contact is online. If not, not. If > you > receive a definitive answer that the contact is offline, that's even > better, but you can never assume that the contact is online. > >> The problem with that is: How do you figure out if you don't get a >> response or if you are just still waiting for it? We should define a >> sane timeout here, I guess, to prevent incompatibilities. This also >> means we need to figure out a sane value that even works with bad >> connections. > > I don't see a good reason to go down that path, which introduces more > complexity into clients. So you suggest to assume all presences you already received as invalid when you send a presence probe and only take those into account that you got after the probe? Sounds like a solution, but a dirty one, IMO. I think that sending back an unavailable a MUST is a good idea, as then you have a definite answer whether the user is online or not, whereas without, it could just be a laggy connection etc. -- Jonathan
- [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Dave Cridland
- Re: [xmpp] 3921bis: probe + unavailable Ben Schumacher
- Re: [xmpp] 3921bis: probe + unavailable Dave Cridland
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Waqas Hussain
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- [xmpp] probe from/to (was: Re: 3921bis: probe + u… Peter Saint-Andre
- Re: [xmpp] probe from/to Philipp Hancke
- Re: [xmpp] probe from/to (was: Re: 3921bis: probe… Waqas Hussain
- Re: [xmpp] probe from/to Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Jonas Lindberg
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Jonas Lindberg
- Re: [xmpp] 3921bis: probe + unavailable Ben Schumacher
- Re: [xmpp] 3921bis: probe + unavailable Jonas Lindberg
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Philipp Hancke
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Justin Karneges
- Re: [xmpp] 3921bis: probe + unavailable Jonas Lindberg
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Jonas Lindberg
- Re: [xmpp] 3921bis: probe + unavailable Joe Hildebrand
- Re: [xmpp] 3921bis: probe + unavailable Jonathan Schleifer
- Re: [xmpp] 3921bis: probe + unavailable Peter Saint-Andre