Re: [Webpush] Non-blocking comments on -05
Martin Thomson <martin.thomson@gmail.com> Fri, 03 June 2016 07:24 UTC
Return-Path: <martin.thomson@gmail.com>
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 7667B12D55D
for <webpush@ietfa.amsl.com>; Fri, 3 Jun 2016 00:24:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
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 XVFdciLltomY for <webpush@ietfa.amsl.com>;
Fri, 3 Jun 2016 00:24:01 -0700 (PDT)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com
[IPv6:2607:f8b0:400d:c09::233])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 3CB1D12D16D
for <webpush@ietf.org>; Fri, 3 Jun 2016 00:24:01 -0700 (PDT)
Received: by mail-qk0-x233.google.com with SMTP id s186so17993795qkc.1
for <webpush@ietf.org>; Fri, 03 Jun 2016 00:24:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:cc:content-transfer-encoding;
bh=DThUumACbc4vetbk8+6KFrO8BhHXNwofBbWpFpZoUkc=;
b=dcbdQ3+mRTZKsBE7WLhpNOjFxnNl8bINbqNoQy6FaceRgHot9eyTCaiBgct9VnFd8p
Uo9KWTozEBnkXe1XrAtmVSWL2GAHGeGaplClDbEFaCUjq7I8WVWO/kQaJXDzA2b+rnBv
+Ozt7n3EUWQMBVkXo2j9rZopwIzvKp1pknob/Wg0FKuhfDMYxbFncOINusx440YC8JfZ
aMybGAsTXAFlmuVI4FgNqDFn6fwCtoHdSPZ0LcX6NxJ5N3elhx+3COP7DDoF60GeHENO
0rbMHXkuHgxDCpQuZnAJZ9hd0ntYRHbVsMHpzjp8NlU2zd9eR/DAssJ8MOdpCtFprxJX
RPUg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=DThUumACbc4vetbk8+6KFrO8BhHXNwofBbWpFpZoUkc=;
b=bfULwnZRrHfbYjEB25qOranmqKpPZdVkLNEg3goPoUJpuBZ5kVy2ffwTJKEMRLCpf/
lc1e4zB0vXNmpaUaOnWsCIpOMXT5tXJFojb6rXVfhEyQUWQsGDQiqMEKW5fgteh7ls6Q
v9PlBH5t9TtCHrC70tN7zmEd/WCiioOPakZxPYtIA1rSpWMzxR/Tb7gb7NjFgWVkMvVX
ydaEua0kglc+U4pC3tolsx59o9YBXvYTfUXhH6LYaDIiW8v2MRnzxnqXIRPPNcIqH8fN
ByIhHrskn+FZahc0Yel39Jx16NYgSAV5a1VlZPNfadPo3xol+u7dpVIvGKSwxRZ4g5em
lf6Q==
X-Gm-Message-State: ALyK8tL9Lw66C4vmhgP0Aq7sKnZsEaRiQP7QfrL+u93n4zHHYPmuPpx650fO6iBOpRP3SFtuhszG53fw2EdCqA==
X-Received: by 10.55.135.7 with SMTP id j7mr1851641qkd.32.1464938640356; Fri,
03 Jun 2016 00:24:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.104.110 with HTTP; Fri, 3 Jun 2016 00:23:59 -0700 (PDT)
In-Reply-To: <989D9268-BE9A-47F7-9181-C0F323D1DA1F@mozilla.com>
References: <CALt3x6=_yc9TegOut_g+6W5fvhP7sfW+_gwRZnEVFA5PNgER6Q@mail.gmail.com>
<6af49c2baf1b4e4f884b812d573b947e@Antiope.crf.canon.fr>
<CABkgnnWebfxnPOLMXK+n+2G=c8DOG4Eb4AWMsWXJmmdnE4pUwg@mail.gmail.com>
<989D9268-BE9A-47F7-9181-C0F323D1DA1F@mozilla.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 3 Jun 2016 17:23:59 +1000
Message-ID: <CABkgnnUkZLxPMX_fLq08kZ3kYF0GAa9VfbtKdANPBCb53_EHdg@mail.gmail.com>
To: Kit Cambridge <kcambridge@mozilla.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/MGQJ1MZl7dhs6wybxyqyVTD8lD4>
Cc: Brian Raymor <Brian.Raymor@microsoft.com>,
Peter Beverloo <beverloo@google.com>, "webpush@ietf.org" <webpush@ietf.org>,
RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Subject: Re: [Webpush] Non-blocking comments on -05
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: Fri, 03 Jun 2016 07:24:03 -0000
I don't think that Brian addressed these already... On 2 June 2016 at 17:01, Kit Cambridge <kcambridge@mozilla.com> wrote: > * If the replaced and new message specify TTLs, and the new TTL is shorter...does it just replace the old TTL? (This is implied by "the information that is stored for the push message is updated", as well as the restriction that the response TTL must be <= request TTL, but I wanted to double-check). Yes, let's be explicit though: https://github.com/webpush-wg/webpush-protocol/pull/102 I've also changed from MAY to SHOULD for suppressing delivery receipts on replacement. There is a race condition, otherwise I would say MUST. > In section 6, are non-zero `wait` values allowed? (I'm assuming not, since the UA can disconnect at any time). The 0 value is special in that it is required. Other values are up to the push service to decide on what to do, though it does give a client some control over liveness without having to initiate PING frames. Do you think we need text about non-zero values? Respecting Prefer is generally discretionary, and I'd like to keep it that way. > * Is there a way for the push server to indicate to the UA how long it's willing to wait for acks before re-delivering? (For instance, so that the UA can batch acks for a burst of incoming messages. Or does this not make sense with H2?) You mean like Retry-After? There isn't really anything like that. > In section 7.2, could we consider allowing push servers to reject messages < 4k? If the PS is proxying the message to a third-party server, which Mozilla's server does on iOS and Android, it might not be able to control the size limit. The point of having this value is that it's a low limit and application servers can rely on that many octets being available. I hate to suggest it, because it's disgusting to implement, but if you are sending messages to iOS devices, maybe you need to consider split-and-merge.
- [Webpush] Non-blocking comments on -05 Peter Beverloo
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 RUELLAN Herve
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 Peter Beverloo
- Re: [Webpush] Non-blocking comments on -05 Costin Manolache
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 Kit Cambridge
- Re: [Webpush] Non-blocking comments on -05 RUELLAN Herve
- Re: [Webpush] Non-blocking comments on -05 RUELLAN Herve
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 Costin Manolache
- Re: [Webpush] Non-blocking comments on -05 Costin Manolache
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 Costin Manolache
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Brian Raymor
- Re: [Webpush] Non-blocking comments on -05 Kit Cambridge
- Re: [Webpush] Non-blocking comments on -05 Kit Cambridge
- Re: [Webpush] Non-blocking comments on -05 Martin Thomson
- Re: [Webpush] Non-blocking comments on -05 jr conlin
- Re: [Webpush] Non-blocking comments on -05 RUELLAN Herve
- Re: [Webpush] Non-blocking comments on -05 Costin Manolache