Re: [Webpush] AD evaluation: draft-ietf-webpush-protocol-09

Alissa Cooper <alissa@cooperw.in> Mon, 26 September 2016 17:50 UTC

Return-Path: <alissa@cooperw.in>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9437E12B26A for <webpush@ietfa.amsl.com>; Mon, 26 Sep 2016 10:50:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.721
X-Spam-Level:
X-Spam-Status: No, score=-2.721 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cooperw.in header.b=f5TEBEmf; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=ocxUBkZ2
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 gM20s-KvSIKO for <webpush@ietfa.amsl.com>; Mon, 26 Sep 2016 10:50:03 -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 D460912B31C for <webpush@ietf.org>; Mon, 26 Sep 2016 10:50:01 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6D99D2054B; Mon, 26 Sep 2016 13:50:00 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 26 Sep 2016 13:50:00 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=cooperw.in; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=yROalsnLCLkhZoFh9y4Uc+NhLHU=; b=f5TEBE mfu82F3na0RXsWrwwqdbgnOqLLUmlvAbuZt+1AekrBD+qFbB1h6pLrmvSuw4ZJjV iIqQ4beFafuDhuY9KAlk+heycE7rHnBb+ko3G9Jkzr5GeuDvY0l1AxVQd5GKdYbQ tKZ861h4osmq21llOXVK7sWoMwXv612t2k8aM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=yROalsnLCLkhZoF h9y4Uc+NhLHU=; b=ocxUBkZ2n/axfyczxuRY5RY8snbb2CXdagKDWP7/hEhGr64 YhUc0RgU6QOJtqd23R8OGE7Lvh3S0gdipqt3H9QMLjEqIRe4kz5Ai/XyNMtI2okS wycxwRY0pErOV/UjLpiKHeIShj18vQBAhB+Qg8bIrh6fF/N0nrKDEpIQB088=
X-Sasl-enc: aJyKOMzyxRF8J/iuYa1Vs4mACIgTWuSG5wG2E1YRPPWq 1474912200
Received: from dhcp-10-150-9-154.cisco.com (unknown [173.38.117.90]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E977CCEAB; Mon, 26 Sep 2016 13:50:00 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Alissa Cooper <alissa@cooperw.in>
In-Reply-To: <CABkgnnX5o1jj3TOvX8Tb6PJmEVWrbXo-qi3cCGK9o8GATEbDng@mail.gmail.com>
Date: Mon, 26 Sep 2016 13:49:59 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <F171EE4B-C95C-47D6-A3AA-CAEDB04D490F@cooperw.in>
References: <1E66EFF9-A0B5-4BB5-8F1D-0ABABBB3C353@cooperw.in> <CABkgnnXgA+c0KR5g7qC_U4Hdg=2QoeDpaCXY98nZQGqB1gcDfw@mail.gmail.com> <CABkgnnX5o1jj3TOvX8Tb6PJmEVWrbXo-qi3cCGK9o8GATEbDng@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/fCsPNWI1gzwMyACJ4QRPeEQHscQ>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] AD evaluation: draft-ietf-webpush-protocol-09
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol <webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>, <mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>, <mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Sep 2016 17:50:04 -0000

LGTM

> On Sep 26, 2016, at 12:48 AM, Martin Thomson <martin.thomson@gmail.com> wrote:
> 
> I've create a pull request that includes the text below, plus fixes to
> the other identified issues:
> 
> https://github.com/webpush-wg/webpush-protocol/pull/128
> 
> Preview at: https://webpush-wg.github.io/webpush-protocol/alissa_review/
> 
> On 23 September 2016 at 14:54, Martin Thomson <martin.thomson@gmail.com> wrote:
>> Thanks for reviewing Alissa,
>> 
>> The other comments look like they have mechanical fixes.  We will get to that.
>> 
>> On 22 September 2016 at 13:25, Alissa Cooper <alissa@cooperw.in> wrote:
>>> = Section 5.4 =
>>> 
>>> "Delivery receipts for the deleted message
>>>   SHOULD be suppressed."
>>> 
>>> Why is this a SHOULD rather than a MUST? It seems incorrect in all cases to send a delivery receipt for a message that never gets delivered.
>> 
>> I realize that this is actually too short to be comprehensible.  What
>> I think that this was trying to capture was that sometimes replaced
>> messages might be delivered successfully, but the acknowledgment might
>> be still in transit toward the server.  That acknowledgement could
>> trigger a delivery receipt.
>> 
>> This recommends that receipts be suppressed in this case.  They might
>> not be given the distributed nature of the push service.
>> (Acknowledgments might be handled in a stateless fashion, and checking
>> that a replacement has occurred can be expensive; preventing the race
>> adds cost and latency also.)
>> 
>>>>> 
>> A push message replacement request creates a new push message resource
>> and simultaneously deletes any existing message resource that has a
>> matching topic. If an attempt was made to deliver the deleted push
>> message, an acknowledgment could arrive at the push service after the
>> push message has been replaced.  Delivery receipts for such deleted
>> messages SHOULD be suppressed.
>> <<<