Re: [Extra] AD review of draft-ietf-extra-imap-status-size-01

Bron Gondwana <brong@fastmailteam.com> Tue, 15 May 2018 01:14 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83AFB1270A3 for <extra@ietfa.amsl.com>; Mon, 14 May 2018 18:14:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=Rfpo2Hcq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=KHD2NdbP
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L-lwyqJudfSJ for <extra@ietfa.amsl.com>; Mon, 14 May 2018 18:14:20 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C49B124B18 for <extra@ietf.org>; Mon, 14 May 2018 18:14:20 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 66E2E22477 for <extra@ietf.org>; Mon, 14 May 2018 21:14:19 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Mon, 14 May 2018 21:14:19 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=content-transfer-encoding:content-type:date :from:in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ioMB4N+z98vkrpYx1 svw3w2nkYe9bTRR016eoWNF/ds=; b=Rfpo2HcqYd2uVh8+h3EvEpIGEKDtzYH2V v7LXQNuTY/Frq8NZGM8eV+PHWrqnx0LxF3D6bGVYPqRZfoqkfFTg5MX99yXeuvKx AQxGFi3dwxepsNiOyYIXdN0V7ANlJZxYKGyzgJnQDEAZNzLMrYeTT2gfw6tSY6OD B/+YGPpLZbf0bfJLwXVRkIROJp816I84ZKyHJstrV7slSPV43UZM41arWw+KuPwu L+4LhOwwKFZ3gmD1ErWjPHh27VcD4sCLLYu+5AQeWTP7e9OrYCrRUD+aQaHD4OuR ZkTtWHnnj/CNjCbyG1smxqW9+F2WwOVCNfhx7IEL1gwzNGUa/VB3A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ioMB4N +z98vkrpYx1svw3w2nkYe9bTRR016eoWNF/ds=; b=KHD2NdbPTLYWLhd958tnIR sQHu3Z9bV/NT9MzIGz7eu2vD+g0bBS2/c/8vzRyiaSACFoRCrcXfRdH2PXXgpUzj milfTYDbOHxeCWnn4xfRksnNuAp3XO4oYzinoiF1yAW6KkscNbvc0iFossqlxGmL RC50e7Xlh0O9KGOMKGpFFfcV2Qk3q7Rhpc6ZHK8LwOYSDa1eYSmLLUcKquJL10Ri 7XWm0mPw5A2ql1BznQtLcdW/pU7ymaXq8wEej8K/i2Odbkuo23CbwT2aINSZI0Wk BQ7BYwmqiFfIGY7VXHBUfsOBF4UylskrUjuLIqE8x2UVsTrWu2g3Yo6j2PSF9xcQ ==
X-ME-Sender: <xms:azT6WmD9VoSA2WPxnF_BCZpm_Z-7lRS6m9zwCTeyTcoH8jihNIr7UQ>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id EAFF09E0E4; Mon, 14 May 2018 21:14:18 -0400 (EDT)
Message-Id: <1526346858.1919476.1372147984.7BBDC9FC@webmail.messagingengine.com>
From: Bron Gondwana <brong@fastmailteam.com>
To: extra@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_152634685819194760"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-29fe4c42
Date: Tue, 15 May 2018 11:14:18 +1000
References: <5AE207FD.8020203@isode.com> <71D1116A-0D02-424B-9B22-58110DD8202D@oracle.com> <D6002572-B87C-47FA-98A1-D963F25F5B0E@oracle.com> <9e94523e-d12d-e61c-d63b-e54dea7fd33e@dovecot.fi> <84D7D0C7-B12B-4DF2-B059-010CCE8F8271@oracle.com> <1526004063.3372904.1368184696.34A255D8@webmail.messagingengine.com> <EFB3AA82-1076-4947-AACA-63102C5220CE@oracle.com>
In-Reply-To: <EFB3AA82-1076-4947-AACA-63102C5220CE@oracle.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/TD69yqBBSPyUsaNZbuOnKw782w4>
Subject: Re: [Extra] AD review of draft-ietf-extra-imap-status-size-01
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 May 2018 01:14:21 -0000

On Tue, May 15, 2018, at 09:54, Chris Newman wrote:
> On 10 May 2018, at 19:01, Bron Gondwana wrote:
>> My opinion is - just define this response as a 63 bit number.
>> 
>> Crappy thing here with RFC4466 is:
>> 
>>   tagged-ext-simple   = sequence-set / number
>> 
>> And "number" is defined in RFC3501:
>> 
>> number          = 1*DIGIT ; Unsigned 32-bit integer ; (0 <= n <
>> 4,294,967,296)
>> 
>> Which means that the response SHOULD be:
>> 
>> "SIZE" SP "(" number63 ")"  rather than "SIZE" SP number63 to be
>> tagged-ext.
> 
> Clients have a parser. That parser will either support 32-bit
> numbers or> 63-bit numbers. Clients implementing SIZE should just support 63-bit
> numbers; that's less client code than supporting 32-bit numbers
> outside> parens and 63-bit numbers inside parens; thus less risk of bugs. The
> extra parentheses make the parser more complex for no good reason. The> extra parentheses make the extension incompatible with an already
> implemented extension in my server for no good reason (yes, I'm
> willing> to make incompatible changes to private extensions, but only if
> there is> a technical reason to do so). I object to adding the extra parentheses> for those two reasons.

I'm totally fine with all those reasons.  Do we need to do a 4466bis for
this, or do we let that get folded with the 64bit extension work in
general and IMAP4rev2?
I'm pretty keen to say that "IMAP4rev2 will fix it" about irrelevant
things like this, but I think it's good to have the discussion and have
a clear answer for why we're going with a number without parens -
particularly since OBJECTID is doing parans everywhere.
Bron.


--
  Bron Gondwana, CEO, FastMail Pty Ltd
  brong@fastmailteam.com