Skip to content

Commit

Permalink
Improved error handling for inadequate timeouts with proxy chains.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-tiloca-sics committed Jul 7, 2024
1 parent 004742a commit f63ac73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion draft-ietf-core-groupcomm-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,9 @@ Otherwise, the proxy performs the steps defined in {{ssec-req-proc-proxy}}, with

If the proxy is not able to determine a value T'' that fulfills both the requirements above, the proxy MUST stop processing the request and MUST respond with a 5.05 (Proxying Not Supported) error response to the (previous hop proxy closer to the) origin client. The proxy SHOULD include a Multicast-Timeout Option, set to the minimum value T' that would be acceptable in the Multicast-Timeout Option of a group request to forward.

Upon receiving such an error response, any proxy in the chain MAY send an updated group request to the next hop towards the origin servers, specifying in the Multicast-Timeout Option a value T' greater than in the previous request. If this does not happen, the proxy receiving the error response MUST also send a 5.05 (Proxying Not Supported) error response to the previous hop proxy closer to the origin client. Like the received one, also this error response SHOULD include a Multicast-Timeout Option, set to the minimum value T' acceptable by the proxy sending the error response.
If the proxy is the first one in the chain, then the error response is sent to the origin client. Upon receiving the error response, the origin client MAY send an updated group request to the same first proxy in the chain. In the updated request, the Multicast-Timeout Option SHOULD specify a value T' such that: it is greater than the one specified in the original group request; and it is greater than or equal to the one specified in the error response (if present therein).

Otherwise, upon receiving the error response, any other proxy in the chain MAY send an updated group request to the next hop towards the origin servers. In the updated group request, the Multicast-Timeout Option MUST specify a value T' such that: it is greater than the one specified in the previous forwarded request; and it is greater than or equal to the one specified in the error response (if present therein). If the proxy does not send an updated group request, the proxy MUST also send a 5.05 (Proxying Not Supported) error response to the previous hop proxy closer to the origin client. Like the received one, also this error response SHOULD include a Multicast-Timeout Option, set to the minimum value T' acceptable by the proxy sending the error response.

* At step 5, the proxy forwards the request to the next hop towards the origin servers.

Expand Down Expand Up @@ -1421,6 +1423,8 @@ C P S1 S2

* Improved description on using Proxy-Cri and Proxy-Scheme-Number.

* Improved error handling for inadequate timeouts with proxy chains.

* Revised the examples of message exchange with a reverse-proxy.

* Fixes in the IANA considerations.
Expand Down

0 comments on commit f63ac73

Please sign in to comment.