Skip to content

Commit 33271cb

Browse files
andreasttAutomatedTester
authored andcommitted
nodes: improve flow of readiness state
This change is editorial. The current definition of readiness state is quite clunky to read because of the excessively loaded match statement. This simplifies it somewhat and improves the language.
1 parent 0ccf553 commit 33271cb

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

index.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -310,19 +310,14 @@ <h2>Nodes</h2>
310310
and so are bound by the requirements on a <a>remote end</a> in terms
311311
of the wire protocol.
312312

313-
<p>A <a>remote end</a>’s <dfn>readiness state</dfn> is the value corresponding
314-
to the first matching statement:
315-
316-
<dl class=switch>
317-
<dt>the maximum <a>active sessions</a> is equal to the length of the list of
318-
<a>active sessions</a>
319-
<dt>the node is an <a>intermediary node</a> and is known to be in a state in
320-
which attempting to create a <a>new session</a> would fail
321-
<dd><p>False
322-
323-
<dt>Otherwise
324-
<dd><p>True
325-
</dl>
313+
<p>
314+
The <dfn>readiness state</dfn> of a <a>remote end</a>
315+
indicates whether it is free to accept new connections.
316+
It must be false if the maximum <a>active sessions</a>
317+
is equal to the length of the list of <a>active sessions</a>,
318+
or if the node is an <a>intermediary node</a>
319+
and is known to be in a state in which attempting to create <a>new sessions</a> would fail.
320+
In all other cases it must be true.
326321

327322
<p class=example>If the <a>intermediary node</a>
328323
is a multiplexer that manages
@@ -2173,7 +2168,7 @@ <h2>Sessions</h2>
21732168
so that the <a>connection</a> is not prematurely closed.
21742169

21752170
<section>
2176-
<h3><dfn data-lt="creating a new session">New Session</dfn></h3>
2171+
<h3 id=new-session><dfn data-lt="new sessions|creating a new session">New Session</dfn></h3>
21772172

21782173
<table class="simple jsoncommand">
21792174
<tr>

0 commit comments

Comments
 (0)