Re: [Webpush] Require the TTL header

Miguel Garcia <miguelg@chromium.org> Fri, 05 February 2016 11:31 UTC

Return-Path: <miguelg@google.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ACFB1A6EE1 for <webpush@ietfa.amsl.com>; Fri, 5 Feb 2016 03:31:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=no
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 E_Gtxi4asaxY for <webpush@ietfa.amsl.com>; Fri, 5 Feb 2016 03:31:51 -0800 (PST)
Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (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 2E83F1A6EDE for <webpush@ietf.org>; Fri, 5 Feb 2016 03:31:51 -0800 (PST)
Received: by mail-vk0-x22d.google.com with SMTP id c3so8128888vkb.3 for <webpush@ietf.org>; Fri, 05 Feb 2016 03:31:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=WlKIVEN+e6j3GwGrtXHcHgR715tua5XFwnc+74e9HUg=; b=nMZUmZBWNjq94My0zOWu9VUUDZWqXsYzXxb+3TqdVpB64Hvt73zGPwYkY2qHa3kko7 XzVKaHNwMKLKQw+5oJe7Lvn5MWg4/qJkjeqwm5HKryybwFCzQrow/33s26nKKTDNnZlN nxJYtBij5yN6RLi7KrRwx4Db5ycsG6On+4W+QdfkT/hT9G9TuaT250zrOJ8H5WC9t0N2 7iBNtaxNZec1YgaioKSIVluHgh4Cpt+svwxUta8HmQsX8LlSwuvCoPSpguy2dtsEF7k+ ERwH5rh4PRPcSdFMTOFHktPe4NzGcULh6E52jfVA6/XJN+gkrkr2MqPpFQF0y862CIy3 5uug==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=WlKIVEN+e6j3GwGrtXHcHgR715tua5XFwnc+74e9HUg=; b=K5BtB8uHWqshxu4aAI6cwLUO1t3uifWQGdnSgGv/xadspeYA57iLXxQhRAWz1tsREC jRpOECEj/im5pB2pFd0IG9AW/RxY53cXbkmgJ0ddKybfvOXsXG3o31T/JCSgA8G9LArx WPueEFOKqJ0FBqwjQuauT75jcRF2EhSr/NYeQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=WlKIVEN+e6j3GwGrtXHcHgR715tua5XFwnc+74e9HUg=; b=h/6BG/j9bO+gEcgkVylT0oad/jXKX7UEI6Pg+7icOL4N8GQNX0oBiuC4NNFwD2QsTz cF6WjEGq9blPkixRmmx1ycOhw4KcW1gD5Tu2UvuAEYHuC9vE9/1FrgETqN2gStHqtcHH UdS8F6uEsk00cULb229UtdPaGSd9Tyl2Ac08TrfNBnB/InxItyWcvxvT9VQKPQvx82YB SNx4T2KKIUBqe7Tif2vYN5E2cCL9RAL4UL1RDi0JWKk5oRjWFecrbFaGYZ/QUWjKY65G 1A+AcvoX8/JGRH1uWv3egtYXaJ5WV3Ssb92cfdwbeG9Q77l3BPstVXd1SgvL1LnIcFjt XK2Q==
X-Gm-Message-State: AG10YOS81UDZPLvXCxDzfBDEzl4URE3TLddgA9ENvosFgfFfwy2vBt+LMhowA/H/7pSOg9Qos9L6d1kHv8CzMpgR
X-Received: by 10.31.16.146 with SMTP id 18mr9181784vkq.152.1454671910080; Fri, 05 Feb 2016 03:31:50 -0800 (PST)
MIME-Version: 1.0
Sender: miguelg@google.com
Received: by 10.31.226.68 with HTTP; Fri, 5 Feb 2016 03:31:30 -0800 (PST)
In-Reply-To: <CABkgnnWmfBVPMhCoSJ14B2yrGh7ieNH04_oR6XgpEkFv0RuVvA@mail.gmail.com>
References: <CABp8Eu+oBj8XKWbqd9ypT_mQWzMxXDe+cBR_vqk=rJ=6tM3tFA@mail.gmail.com> <BY2PR0301MB06477C93FA8937F0ABD4393383D20@BY2PR0301MB0647.namprd03.prod.outlook.com> <CABkgnnWmfBVPMhCoSJ14B2yrGh7ieNH04_oR6XgpEkFv0RuVvA@mail.gmail.com>
From: Miguel Garcia <miguelg@chromium.org>
Date: Fri, 5 Feb 2016 11:31:30 +0000
X-Google-Sender-Auth: 8FOSI1wQv4RoubZ9d2z3cTk4qjQ
Message-ID: <CAGTrua0+=5WzyVP9KuG6v5Jrt4Q6FRDXo1xgRs753cdVW-yTEQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary=001a11431b4677723b052b043291
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/Jq1GDe4Sp_iGT3Q_c5xFMGaGSHc>
Cc: Benjamin Bangert <bbangert@mozilla.com>, Brian Raymor <Brian.Raymor@microsoft.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Require the TTL header
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.15
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, 05 Feb 2016 11:31:53 -0000

I agree with this as well. Especially since the default behavior in GCM
<https://developers.google.com/cloud-messaging/concept-options#ttl> is
different (not supplying it defaults to ttl of 4 weeks). Making it required
would avoid unnecessary confusion.

On Fri, Feb 5, 2016 at 11:26 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 5 February 2016 at 16:42, Brian Raymor <Brian.Raymor@microsoft.com>
> wrote:
> >> Can we require a TTL value for web-push notifications?
> >
> > I'd support this requirement if it helps to enforce correct behavior in
> implementations.
>
> I'm also in support of this.  Ben makes a good argument.  Removing
> defaults and being up-front about potential mistakes was a pretty good
> way to ensure solid interoperability for h2.
>
> _______________________________________________
> Webpush mailing list
> Webpush@ietf.org
> https://www.ietf.org/mailman/listinfo/webpush
>