Skip to content

Commit

Permalink
Script updating gh-pages from d8393d4. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ID Bot committed Oct 30, 2024
1 parent ff7eead commit 0289ab9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
21 changes: 15 additions & 6 deletions draft-ietf-ppm-dap.html
Original file line number Diff line number Diff line change
Expand Up @@ -3344,6 +3344,10 @@ <h5 id="name-leader-initialization">
the report ID for replay protection.<a href="#section-4.6.1.1-24" class="pilcrow"></a></p>
<p id="section-4.6.1.1-25">(Note: Since VDAF preparation completes in a constant number of rounds, it will
never be the case that some reports are completed and others are not.)<a href="#section-4.6.1.1-25" class="pilcrow"></a></p>
<p id="section-4.6.1.1-26">If the Leader fails to process the response from the Helper, for example because
of a transient failure such as a network connection failure or process crash,
the Leader <span class="bcp14">SHOULD</span> re-send the original request unmodified in order to attempt
recovery (see <a href="#aggregation-step-skew-recovery" class="auto internal xref">Section 4.6.2.4</a>).<a href="#section-4.6.1.1-26" class="pilcrow"></a></p>
</section>
</div>
<div id="aggregation-helper-init">
Expand Down Expand Up @@ -3746,6 +3750,10 @@ <h5 id="name-leader-continuation">
</ol>
<p id="section-4.6.2.1-13">When the Leader stores the <code>out_share</code>, it <span class="bcp14">MUST</span> also store the report ID for
replay protection.<a href="#section-4.6.2.1-13" class="pilcrow"></a></p>
<p id="section-4.6.2.1-14">If the Leader fails to process the response from the Helper, for example because
of a transient failure such as a network connection failure or process crash,
the Leader <span class="bcp14">SHOULD</span> re-send the original request unmodified in order to attempt
recovery (see <a href="#aggregation-step-skew-recovery" class="auto internal xref">Section 4.6.2.4</a>).<a href="#section-4.6.2.1-14" class="pilcrow"></a></p>
</section>
</div>
<div id="aggregation-helper-continuation">
Expand Down Expand Up @@ -3781,15 +3789,16 @@ <h5 id="name-helper-continuation">
(Note that a report may be missing, in which case the Helper should assume the
Leader rejected it.)<a href="#section-4.6.2.2-7" class="pilcrow"></a></p>
<p id="section-4.6.2.2-8">Next, the Helper checks if the continuation step indicated by the request is
correct. (For the first <code>AggregationJobContinueReq</code> the value should be <code>1</code>;
for the second the value should be <code>2</code>; and so on.) If the Leader is one step
behind (e.g., the Leader has resent the previous HTTP request), then the Helper
<span class="bcp14">MAY</span> attempt to recover by sending the same response as it did for the previous
correct. (For the first <code>AggregationJobContinueReq</code> the value should be <code>1</code>; for
the second the value should be <code>2</code>; and so on.) If the Leader is one step behind
(e.g., the Leader has resent the previous HTTP request), then the Helper <span class="bcp14">MAY</span>
attempt to recover by sending the same response as it did for the previous
<code>AggregationJobContinueReq</code>, without performing any additional work on the
aggregation job. In this case it <span class="bcp14">SHOULD</span> verify that the contents of the
<code>AggregationJobContinueReq</code> are identical to the previous message (see
<a href="#aggregation-step-skew-recovery" class="auto internal xref">Section 4.6.2.4</a>). Otherwise, if the step is incorrect, the
Helper <span class="bcp14">MUST</span> abort with error <code>stepMismatch</code>.<a href="#section-4.6.2.2-8" class="pilcrow"></a></p>
<a href="#aggregation-step-skew-recovery" class="auto internal xref">Section 4.6.2.4</a>). Otherwise, if the step is incorrect or if
the Helper does not wish to attempt recovery, the Helper <span class="bcp14">MUST</span> abort with error
<code>stepMismatch</code>.<a href="#section-4.6.2.2-8" class="pilcrow"></a></p>
<p id="section-4.6.2.2-9">Let <code>inbound</code> denote the payload of the prep step. For each report, the Helper
computes the following:<a href="#section-4.6.2.2-9" class="pilcrow"></a></p>
<div class="lang-pseudocode sourcecode" id="section-4.6.2.2-10">
Expand Down
17 changes: 15 additions & 2 deletions draft-ietf-ppm-dap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1766,6 +1766,12 @@ Table of Contents
rounds, it will never be the case that some reports are completed and
others are not.)

If the Leader fails to process the response from the Helper, for
example because of a transient failure such as a network connection
failure or process crash, the Leader SHOULD re-send the original
request unmodified in order to attempt recovery (see
Section 4.6.2.4).

4.6.1.2. Helper Initialization

The Helper begins an aggregation job when it receives an
Expand Down Expand Up @@ -2142,6 +2148,12 @@ Table of Contents
When the Leader stores the out_share, it MUST also store the report
ID for replay protection.

If the Leader fails to process the response from the Helper, for
example because of a transient failure such as a network connection
failure or process crash, the Leader SHOULD re-send the original
request unmodified in order to attempt recovery (see
Section 4.6.2.4).

4.6.2.2. Helper Continuation

The Helper begins each step of continuation with a sequence of state
Expand Down Expand Up @@ -2182,8 +2194,9 @@ Table of Contents
AggregationJobContinueReq, without performing any additional work on
the aggregation job. In this case it SHOULD verify that the contents
of the AggregationJobContinueReq are identical to the previous
message (see Section 4.6.2.4). Otherwise, if the step is incorrect,
the Helper MUST abort with error stepMismatch.
message (see Section 4.6.2.4). Otherwise, if the step is incorrect
or if the Helper does not wish to attempt recovery, the Helper MUST
abort with error stepMismatch.

Let inbound denote the payload of the prep step. For each report,
the Helper computes the following:
Expand Down

0 comments on commit 0289ab9

Please sign in to comment.