[core] Stateless proxy and 5.04 (Gateway Timeout)

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 03 November 2019 08:33 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 8872412004C for <core@ietfa.amsl.com>; Sun, 3 Nov 2019 01:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 zAaoAIb3HuC1 for <core@ietfa.amsl.com>; Sun, 3 Nov 2019 01:32:58 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130048.outbound.protection.outlook.com [40.107.13.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BB40120099 for <core@ietf.org>; Sun, 3 Nov 2019 01:32:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JCB9rm1J3ObHYsXZ7YJmICeZQyJJuEMPrvnDPWt6qWKGevF3pAmienLpP0RitV6uhA8u6u6A612amxiSBz/aLe5JWqcsTQJfmhcOLbLkOUEB3hMfECA/6n2wh5E7NiUAfLvDYcOZfRwYVEo9/2TYU0VltoQQWlDBnb3YZvLT0+SFPzp0Aiarh1UWGsUKxbv6a4pgz1T/I9wOta9cQFkwkY4hsL77w/Vj0fVnMZhP+QRHxlTUKFJDO3vi/pN1dd6CiQjaHOGwoRjH2LnsiRGuDYsZwuqY3CcDBLtiJxEeqPAqLPMplyDFIdyfrLn8fdVoCCm5GPwUf9jnTPnfLnGZOg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gd+LiVqB20zUlDnnXsI6zdRramV+zzZNDsap8Z/NFWw=; b=bmubl1kmKJWaNTF8xO9y0Xn61SuwiN+aJnMBRVx7c6rrNvc3PudZGQ4ekPLfxdzkeAkKdyO5FK+gYds39zfjVlbB42GGewWjYNddV5qUa2FoObtPx+Akei/4u+mGlrJ1Zd7JTUumoemltH7N/S//Ar5kEy9olAwCnYbYSILdHw/xGrxa1m26CoJ7guMyBpKvQshJmUAOhmGF2G0f4tAPVuiQwzn46EY/FTYPyuH9aEHl+ExQkSLSNi6vJAi6kYLPaJKtY3NTRiP6XInA6vCv/aJBnuqp+kRWPiPGmBnfC6njGTTHQrKcuSbpOOXCO9F16zgj+3z/tC+YwlOY2Ai/mw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gd+LiVqB20zUlDnnXsI6zdRramV+zzZNDsap8Z/NFWw=; b=ic2A/Vt6No2mpoWYhAOQa2WyexSNMiTU15fWmutNaojigDlmj+2dt3Oecj7H3pi6CPoKssz6pqG98xrmHVSSX79npSnRO/oAskDTcly9jf6d3ADi2G/9QGeHCZhDiLb4rvNDZCiRsyVkQYkEhvVYwDWCXFdGMkJIR1i0+xt48Io=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3275.eurprd07.prod.outlook.com (10.170.242.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.15; Sun, 3 Nov 2019 08:32:55 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5499:1231:e707:4cb7]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::5499:1231:e707:4cb7%7]) with mapi id 15.20.2408.024; Sun, 3 Nov 2019 08:32:55 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: "core@ietf.org" <core@ietf.org>
Thread-Topic: Stateless proxy and 5.04 (Gateway Timeout)
Thread-Index: AQHVkA1UqhSd4EHH80awVRCwM08YrA==
Date: Sun, 03 Nov 2019 08:32:55 +0000
Message-ID: <998D003E-7C31-44A7-8FFE-C4E88F678CA3@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1e.0.191013
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [77.234.109.179]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ef3201ef-0ac8-4fe0-6f32-08d760386cf2
x-ms-traffictypediagnostic: HE1PR07MB3275:
x-microsoft-antispam-prvs: <HE1PR07MB3275B7C7845FBCBF9744429E937C0@HE1PR07MB3275.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0210479ED8
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(366004)(376002)(39860400002)(136003)(199004)(189003)(7736002)(2351001)(81156014)(2906002)(26005)(6512007)(6506007)(102836004)(58126008)(478600001)(66066001)(2616005)(105004)(476003)(316002)(486006)(6916009)(5660300002)(14454004)(4744005)(8936002)(54896002)(44832011)(2501003)(6436002)(8676002)(36756003)(81166006)(1730700003)(25786009)(33656002)(14444005)(66476007)(186003)(6116002)(5640700003)(256004)(66946007)(66556008)(6486002)(64756008)(86362001)(76116006)(71200400001)(19627405001)(99286004)(71190400001)(3846002)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3275; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: XDrPUeRe6cOLPYxQaCPNAoV7eR0B8Z/ITbSWKz17beW4lxbEWHTsOGxKxxOldZofNgS25/UcWlSBzlRN3P46NPNDrmHe5ZnB/jhFT07C9YmbOyTfbd2YRy2jEcpC2zaj2pTW+yyaISoEdNn18+JiiCACO98qi3et5pi2rJskFH4cKTzeYR8AIgu4NU4e8zQ6DUCoza3vnpeM2LrUw+Npqg62ABvdjEW2SVzlZk5dZ8wLzwtoY1xXdg8wG+S7eda95CHy/nguRkAht0ruM5D63IhFv2vBR77VCeK26I7r3chTeGiptPXU5pB6KIpfht1zqTq9FD7nPSeaXY39mS2UD2FX+IxFjIf4S5zxaKL7nmXUMfgZ2zTuFLB5txqIS54RB/VhceLLEZD8lS7wb8fj3JaC9kKCkxGp4o5mZBKPWV9jNmX3mqmrximE6pmGju6g
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_998D003E7C3144A78FFEC4E88F678CA3ericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ef3201ef-0ac8-4fe0-6f32-08d760386cf2
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2019 08:32:55.6638 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jqhKTCALqvFKxGiEHfnY/171gIE4zpimEM7xGSA63bgFaU9F4LwfdlU+BkVvRRYC1SylAK9ejzROdQLdcazrvYKbMiNpmxKMuNXcl7+0Za0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3275
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/zk9x67U0ZLIfK3dNmsjxOef3u1M>
Subject: [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 08:33:03 -0000

Hi,

I have a couple of questions for clarification on Section 3.2. of  the stateless draft:

The text says:

   ”Such an intermediary might want to be "stateless" as well, i.e., be
   alleviated of storing the client's token and transport address for
   received requests.  This can be implemented by serializing this
   information along the request state into the token towards the origin
   server.  When the intermediary receives the response, it can recover
   the information from the token and use it to satisfy the client's
   request.”

Q1: If the intermediary does *not* receive a response to the request sent towards the origin server, how can it send the 5.04 (Gateway Timeout) response?

Q2: If the intermediary does not maintain request state, how can it even associate a request a timeout timer (that would trigger the 5.04 response) with the request sent towards the origin server?

Regards

Christer