From 17cfa48da19f27bb71f22aeefd9f733041c71409 Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Sat, 17 Jan 2026 13:31:15 +0000 Subject: [PATCH 1/2] Added clarification about returning error if loop has been detected to 9.7 --- md/clause-9.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/md/clause-9.md b/md/clause-9.md index bdf92df..0ff78fa 100644 --- a/md/clause-9.md +++ b/md/clause-9.md @@ -824,7 +824,10 @@ processing a distributed operation, a specific field listing all previously encountered [Context Sources]{.HTML-Keyboard} (e.g. a Via header in the response in case of HTTP binding (IETF RFC 7230 [n.12])) shall be passed as part of the request and this field can be used to exclude duplicated sources from matching -as [Context Source Registration]{.HTML-Keyboard}. +as [Context Source Registration]{.HTML-Keyboard}. If an actual loop is detected, +as the endpoint was called even though it was already listed as previously +encountered, i.e. this was not detected prior to making the request, a suitable +error shall be returned, indicating that a loop was detected. In the case of multi-tenancy (see Clause+++clause-7+++7.8) each [Tenant]{.HTML-Keyboard} found within each registered [Context -- GitLab From 7f193cd035c730a56674ca4a7efcf8c09ab65717 Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Tue, 20 Jan 2026 09:18:41 +0000 Subject: [PATCH 2/2] Updated as proposed by Jason --- md/clause-9.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/md/clause-9.md b/md/clause-9.md index 0ff78fa..6a69679 100644 --- a/md/clause-9.md +++ b/md/clause-9.md @@ -821,13 +821,14 @@ Furthermore, it is not known if any distributed endpoints of a registered [Context Source]{.HTML-Keyboard} are in turn reliant on previously encountered [Context Sources]{.HTML-Keyboard} thus causing an infinite loop. Therefore, when processing a distributed operation, a specific field listing all previously -encountered [Context Sources]{.HTML-Keyboard} (e.g. a Via header in the response -in case of HTTP binding (IETF RFC 7230 [n.12])) shall be passed as part of the -request and this field can be used to exclude duplicated sources from matching -as [Context Source Registration]{.HTML-Keyboard}. If an actual loop is detected, -as the endpoint was called even though it was already listed as previously -encountered, i.e. this was not detected prior to making the request, a suitable -error shall be returned, indicating that a loop was detected. +encountered [Context Sources]{.HTML-Keyboard} (e.g. a [Via]{.HTML-Code} header +in the response in case of HTTP binding (IETF RFC 7230 [n.12])) shall be passed +as part of the request and this field can be used to exclude duplicated sources +from matching as [Context Source Registration]{.HTML-Keyboard}. If the requested +endpoint is also listed as **previously encountered** when a +[Context Source]{.HTML-Keyboard} receives a call to that endpoint, this is an +indication that a new loop has been detected. A suitable error shall be returned, +indicating that the loop has been detected. In the case of multi-tenancy (see Clause+++clause-7+++7.8) each [Tenant]{.HTML-Keyboard} found within each registered [Context -- GitLab