Re: [core] Stateless proxy and 5.04 (Gateway Timeout)

Klaus Hartke <hartke@projectcool.de> Sun, 03 November 2019 14:53 UTC

Return-Path: <hartke@projectcool.de>
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 F2F751200F5 for <core@ietfa.amsl.com>; Sun, 3 Nov 2019 06:53:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] 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 yaws_7Dg27uC for <core@ietfa.amsl.com>; Sun, 3 Nov 2019 06:53:49 -0800 (PST)
Received: from wp382.webpack.hosteurope.de (wp382.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8597::]) (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 2F657120033 for <core@ietf.org>; Sun, 3 Nov 2019 06:53:48 -0800 (PST)
Received: from mail-qk1-f176.google.com ([209.85.222.176]); authenticated by wp382.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1iRHGE-0003wf-B3; Sun, 03 Nov 2019 15:53:46 +0100
Received: by mail-qk1-f176.google.com with SMTP id d13so15147134qko.3 for <core@ietf.org>; Sun, 03 Nov 2019 06:53:46 -0800 (PST)
X-Gm-Message-State: APjAAAXZp/aScBTqgei8ziZg/07xsM+o+Z87nKWt32wS7iI4EERrbamo xEv5DOKMchRJVFz7Ug49mF3QE/phuAx10mHRzBw=
X-Google-Smtp-Source: APXvYqxypFtNzQO8WSgb0LDTe/3U14yUaWThsk4wA6Fh0L8zNYccWip+uWypTmVrZmnXS34CxwVxhVymO+v/b8qE+jg=
X-Received: by 2002:a05:620a:1ec:: with SMTP id x12mr13031332qkn.237.1572792825123; Sun, 03 Nov 2019 06:53:45 -0800 (PST)
MIME-Version: 1.0
References: <998D003E-7C31-44A7-8FFE-C4E88F678CA3@ericsson.com> <20191103144653.GB11679@hephaistos.amsuess.com>
In-Reply-To: <20191103144653.GB11679@hephaistos.amsuess.com>
From: Klaus Hartke <hartke@projectcool.de>
Date: Sun, 03 Nov 2019 15:53:08 +0100
X-Gmail-Original-Message-ID: <CAAzbHvbNdfBYMYxZ0hQkb6vwU6kVX125sP8tm76DeWXs6f3LYQ@mail.gmail.com>
Message-ID: <CAAzbHvbNdfBYMYxZ0hQkb6vwU6kVX125sP8tm76DeWXs6f3LYQ@mail.gmail.com>
To: Christian Amsüss <christian@amsuess.com>
Cc: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "core@ietf.org" <core@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-bounce-key: webpack.hosteurope.de; hartke@projectcool.de; 1572792829; ed174fde;
X-HE-SMSGID: 1iRHGE-0003wf-B3
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/KZEVrhDSrzhPkwZdp4UkfI4l1Os>
Subject: Re: [core] Stateless proxy and 5.04 (Gateway Timeout)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 03 Nov 2019 14:53:51 -0000

Christian Amsüss wrote:
> I would not expect a stateless proxy to generate 5.04 errors after a
> timeout after sending a request.
>
> What the stateless proxy does need to do is to keep some state about the
> server it is talking to (in order to satisfy flow control requirements).
> If that state indicates unavailability of the server, it could return
> some 5.xx error (possibly even 5.04, don't know their precise
> definitions off my head) immediately to a new incoming request for that
> server.

I think it would be good to capture these considerations in the draft.
I'll hold back -04 for now so we can make these additions.

Klaus