Re: [core] Request for clarification of NSTART and concurrent requests
Carsten Bormann <cabo@tzi.org> Tue, 16 August 2022 13:13 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 439EBC1522A0 for <core@ietfa.amsl.com>; Tue, 16 Aug 2022 06:13:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p211seiTk_6M for <core@ietfa.amsl.com>; Tue, 16 Aug 2022 06:13:22 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60C69C14F728 for <core@ietf.org>; Tue, 16 Aug 2022 06:13:20 -0700 (PDT)
Received: from [192.168.217.149] (p5089abf5.dip0.t-ipconnect.de [80.137.171.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4M6WmY6d7DzDCf6; Tue, 16 Aug 2022 15:13:17 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <ad426cc2-0282-304e-44d9-11462e015545@gmx.net>
Date: Tue, 16 Aug 2022 15:13:17 +0200
Cc: Bryan Green <bryan@aetheros.com>, core@ietf.org
X-Mao-Original-Outgoing-Id: 682348397.556157-da38376b8c1183813c7ea37f235de52e
Content-Transfer-Encoding: quoted-printable
Message-Id: <1B6AF616-23CD-48CF-90CA-81139B87906D@tzi.org>
References: <CAOxiEDYnxj5qtavNQ-vPKC_eo4NPJD8sEPZLjmYS5WCAsY1Tbw@mail.gmail.com> <8B08FFA2-7EB7-49EE-BEEA-7678DCAC9995@tzi.org> <C7D01F99-8710-44F8-8048-B6FC3D25EA3E@tzi.org> <CAOxiEDY0T6CgXPZwmwWazXYhNBXk+HFhoy+VBHZMdxkddj3mPA@mail.gmail.com> <CAOxiEDYZoR18Qm5=2G-f3q+9DZsPuFLFyhhwi7ijSZSFsUJD2g@mail.gmail.com> <ad426cc2-0282-304e-44d9-11462e015545@gmx.net>
To: Achim Kraus <achimkraus@gmx.net>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/bLJnDLB1aXAJUBez04JPodBVLu0>
Subject: Re: [core] Request for clarification of NSTART and concurrent requests
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 16 Aug 2022 13:13:26 -0000
Thanks for the quick reply, Achim! Adding chapter and verse: > there are two options: > > - 4.29 "Too many requests" This is described in RFC 8516, which compares 4.29 to 5.03 by stating "However, the 4.29 code indicates that the too-frequent requests from the requesting client are the reason for the overload.” So, the error is really client-induced and therefore has a 4.xx code. > - 5.03 "Service unavailable" This is described in Section 5.9.3.4 of RFC 7252: 5.03 Service Unavailable > both with a proper value for "Max. Age." (option 14). Which also explains the use of Max-Age, but RFC 8516 is a bit less terse about the use of that option (and the possible surprise by its default value). Grüße, Carsten > > best regards > Achim > > Am 15.08.22 um 22:40 schrieb Bryan Green: >> What would be the appropriate response to a CON request from a >> constrained coap server that had reached its limit of concurrent >> requests from a single client? >> For example if a server was only capable of handling one CON request per >> client at a time, and a CON request was received while the prior request >> was still being processed, should the server silently ignore the packet, >> or is there an appropriate response code to inform the client of the >> need to wait? >> >> >> On Mon, Aug 15, 2022 at 1:13 PM Bryan Green <bryan@aetheros.com >> <mailto:bryan@aetheros.com>> wrote: >> >> Thank you very much for the response. That answers my question. >> >> -Bryan >> >> >> On Mon, Aug 15, 2022 at 12:22 PM Carsten Bormann <cabo@tzi.org >> <mailto:cabo@tzi.org>> wrote: >> >> On 15. Aug 2022, at 21:19, Carsten Bormann <cabo@tzi.org >> <mailto:cabo@tzi.org>> wrote: >> > >> > heavily suggested >> >> heavily CONgested >> >> Sorry about that surprising auto-correct. >> >> Grüße, Carsten >> >> >> _______________________________________________ >> core mailing list >> core@ietf.org >> https://www.ietf.org/mailman/listinfo/core > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core
- [core] Request for clarification of NSTART and co… Bryan Green
- Re: [core] Request for clarification of NSTART an… Carsten Bormann
- Re: [core] Request for clarification of NSTART an… Carsten Bormann
- Re: [core] Request for clarification of NSTART an… Bryan Green
- Re: [core] Request for clarification of NSTART an… Bryan Green
- Re: [core] Request for clarification of NSTART an… Achim Kraus
- Re: [core] Request for clarification of NSTART an… Carsten Bormann
- Re: [core] Request for clarification of NSTART an… Bryan Green
- Re: [core] Request for clarification of NSTART an… Achim Kraus