Re: [Webpush] Message expiration (TTL) and Negative Acknowledgements

Brian Raymor <Brian.Raymor@microsoft.com> Tue, 13 October 2015 22:32 UTC

Return-Path: <Brian.Raymor@microsoft.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 2A91E1A1B0E for <webpush@ietfa.amsl.com>; Tue, 13 Oct 2015 15:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 AXeef_cUtDIM for <webpush@ietfa.amsl.com>; Tue, 13 Oct 2015 15:32:03 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0111.outbound.protection.outlook.com [207.46.100.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 486F41A1AAE for <webpush@ietf.org>; Tue, 13 Oct 2015 15:32:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CRPc/6hZszxaSHuzZXLVAL07Hw6ewfgMOlS4VlaabGw=; b=mUWmthm+vdY+JPhN6NS1aPxhlZXazOdCGa/B+hwDKiZNWqgLnZskD85dlDufq0hd/7JkOD+P91b/9GS6LkMsQ1UvSxaL1bNoJAWbm+34UEdwEsbhP/m8aZXFdmP4uZ1QGSckBgC1dQ7LTGWhpXNgMX2cmqSpakj82CG4Jo8QVE4=
Received: from BY2PR0301MB0647.namprd03.prod.outlook.com (10.160.63.14) by BY2PR0301MB0647.namprd03.prod.outlook.com (10.160.63.14) with Microsoft SMTP Server (TLS) id 15.1.293.16; Tue, 13 Oct 2015 22:32:01 +0000
Received: from BY2PR0301MB0647.namprd03.prod.outlook.com ([10.160.63.14]) by BY2PR0301MB0647.namprd03.prod.outlook.com ([10.160.63.14]) with mapi id 15.01.0293.007; Tue, 13 Oct 2015 22:32:01 +0000
From: Brian Raymor <Brian.Raymor@microsoft.com>
To: "Martin Thomson (martin.thomson@gmail.com)" <martin.thomson@gmail.com>
Thread-Topic: [Webpush] Message expiration (TTL) and Negative Acknowledgements
Thread-Index: AdEGA6AApJ25A8bWSta9W/kXIcP8NQAAOC8AAABNKHA=
Date: Tue, 13 Oct 2015 22:32:01 +0000
Message-ID: <BY2PR0301MB0647EAE2174E1103EF59A2A083300@BY2PR0301MB0647.namprd03.prod.outlook.com>
References: <BY2PR0301MB0647111FCF5845E3AA0C244583300@BY2PR0301MB0647.namprd03.prod.outlook.com> <CABkgnnUs_S6aRpTi6H5+d4xpuU1+2G1OKmWCxzczk+DYDWZGSQ@mail.gmail.com>
In-Reply-To: <CABkgnnUs_S6aRpTi6H5+d4xpuU1+2G1OKmWCxzczk+DYDWZGSQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Brian.Raymor@microsoft.com;
x-originating-ip: [2001:4898:80e8::676]
x-microsoft-exchange-diagnostics: 1; BY2PR0301MB0647; 5:faGll6R5GtOO3oU/X8VijnC6PFSuUyE6USNk8eA1vDNl4BArfrd2VGzBTI1JaGC1BCVu5KAlYTEQPCJg3E7Tjvigj+ZLVYLV5M6KXFxS9mGtIVNJ593RV8QjCOAVuvczclVqySYEjjs8AyJ3OcZMJw==; 24:8vrXbF0Ik/tyGni4bTFwKfPuteRtaenNjQHZfqw1ejFY3Y/c3Xj3DbhyNoU5f4PLkvEPrer/T/0iFnwyfEah/8+DclgHUkpRiEIyqJLK2jk=; 20:m1vu+Dh1eKGyDul7DHz9cRr4LyBA1Yu0+bLUNpv/4Xr1Ls6cdc4fX+NEE/E4wXSY9V4EXPbKcemK07ugl+JFrA==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0647;
x-microsoft-antispam-prvs: <BY2PR0301MB06476508817D75AAEF5A7D9083300@BY2PR0301MB0647.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(108003899814671);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425024)(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(61426024)(61427024); SRVR:BY2PR0301MB0647; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB0647;
x-forefront-prvs: 07283408BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(24454002)(377454003)(199003)(189002)(8990500004)(5007970100001)(86612001)(19580395003)(33656002)(64706001)(54356999)(81156007)(10290500002)(92566002)(86362001)(101416001)(74316001)(102836002)(10090500001)(87936001)(2950100001)(5005710100001)(50986999)(99286002)(76176999)(77096005)(2900100001)(97736004)(5008740100001)(105586002)(76576001)(19580405001)(40100003)(5003600100002)(5001960100002)(5004730100002)(189998001)(110136002)(10400500002)(106356001)(11100500001)(122556002)(5002640100001)(46102003)(3826002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB0647; H:BY2PR0301MB0647.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2015 22:32:01.2114 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0647
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/s7X9lJnE55XkBscxMd4DhB72Isg>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Message expiration (TTL) and Negative Acknowledgements
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: Tue, 13 Oct 2015 22:32:08 -0000

On October 13 2015 at 3:14 PM, Martin Thomson <martin.thomson@gmail.com> wrote:

> 
> On 13 October 2015 at 15:10, Brian Raymor <Brian.Raymor@microsoft.com>
> wrote:
> >
> > This would be a case where the application server should still receive a
> negative acknowledgement for expiration because it has no awareness that
> the push server could not honor its advertised TTL.  It's closer to the failure
> case where a push server ceases to retry delivery of a message prior to its
> expiration perhaps due to an unresponsive user agent.
> 
> This doesn't need to be reported any differently from the case where
> the push service tried 10 times and gave up.

Then, we're in agreement. When a receipt is requested, the same 5xx status code is returned for either giving up prior to the original expiration or lowering the advertised message expiration and failing to deliver.