Re: [core] AD review of draft-ietf-core-too-many-reqs-04
Carsten Bormann <cabo@tzi.org> Thu, 16 August 2018 15:39 UTC
Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 174CC130E9A for <core@ietfa.amsl.com>; Thu, 16 Aug 2018 08:39:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=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 S6FBKTtOn3pL for <core@ietfa.amsl.com>; Thu, 16 Aug 2018 08:39:06 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88D2A129C6A for <core@ietf.org>; Thu, 16 Aug 2018 08:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w7GFd3d8022468; Thu, 16 Aug 2018 17:39:03 +0200 (CEST)
Received: from [192.168.217.114] (p54A6C24D.dip0.t-ipconnect.de [84.166.194.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 41rr933mm8zDXHP; Thu, 16 Aug 2018 17:39:03 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <3b397c15-d016-a281-3b0a-3b956a982a80@isode.com>
Date: Thu, 16 Aug 2018 17:39:01 +0200
Cc: "core@ietf.org" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 556126739.858682-f3e820e8d1cc3a44761399814a3bb5f7
Content-Transfer-Encoding: quoted-printable
Message-Id: <7B349A43-A750-4A60-967F-9031F7A4A8D7@tzi.org>
References: <3b397c15-d016-a281-3b0a-3b956a982a80@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/FuNohcLkEWpEzq75ZWcahNpibLU>
Subject: Re: [core] AD review of draft-ietf-core-too-many-reqs-04
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Aug 2018 15:39:09 -0000
On Aug 16, 2018, at 16:52, Alexey Melnikov <alexey.melnikov@isode.com> wrote: > > Hi, > > This is a straightforward document, as it tracks HTTP functionality defined in RFC 6585. > > I have one main question about the document: when comparing this document with its HTTP counterpart, the HTTP version is using the Retry-After header field, while this document is reusing the Max-Age option. (HTTP has both Retry-After and Age header fields) > > RFC 7252 defines Max-Age as follows: > > 5.10.5. Max-Age > > The Max-Age Option indicates the maximum time a response may be > cached before it is considered not fresh (see Section 5.6.1). > > The option value is an integer number of seconds between 0 and > 2**32-1 inclusive (about 136.1 years). A default value of 60 seconds > is assumed in the absence of the option in a response. > > The value is intended to be current at the time of transmission. > Servers that provide resources with strict tolerances on the value of > Max-Age SHOULD update the value before each retransmission. (See > also Section 5.7.1.) > > So my question is: why is it Ok to reuse Max-Age option and not define a new one, which is closer to the desired semantics? If this was already discussed on the mailing list, please Kindly point me to the relevant thread(s). I think this is modeled after 5.03 in 7252: 5.9.3.4. 5.03 Service Unavailable This Response Code is like HTTP 503 "Service Unavailable" but uses the Max-Age Option in place of the "Retry-After" header field to indicate the number of seconds after which to retry. In both cases, the max-age limits the validity of the hold-off expressed by the response code. Michael: Data lifetime doesn’t really enter here, as there is no data with either 4.29 or 5.03. Grüße, Carsten
- [core] AD review of draft-ietf-core-too-many-reqs… Alexey Melnikov
- Re: [core] AD review of draft-ietf-core-too-many-… Michael Koster
- Re: [core] AD review of draft-ietf-core-too-many-… Carsten Bormann
- Re: [core] AD review of draft-ietf-core-too-many-… Ari Keränen