Skip to content

Commit 07c0536

Browse files
committed
Reestablilsh connection on EOF
1 parent 5093942 commit 07c0536

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100096,10 +100096,16 @@ dictionary <dfn dictionary>EventSourceInit</dfn> {
100096100096
<span data-x="concept-settings-object-global">global object</span>, and
100097100097
"<code data-x="">other</code>".</p></li>
100098100098

100099+
<li><p>Let <var>processEventSourceEndOfBody</var> given
100100+
<span data-x="concept-response">response</span> <var>res</var> be the following step:
100101+
If <var>res</var> is not a <span>network error</span>, then
100102+
<var>finalizeEventSourceFetch</var> with <var>res</var>, and
100103+
<span>reestablish the connection</span>.
100104+
100099100105
<li>
100100100106
<p><span data-x="concept-fetch">Fetch</span> <var>request</var> with
100101100107
<i data-x="processResponseEndOfBody">processResponseEndOfBody</i> set to
100102-
<var>finalizeEventSourceFetch</var> and <i data-x="process response">processResponse</i> set
100108+
<var>processEventSourceEndOfBody</var> and <i data-x="process response">processResponse</i> set
100103100109
to the following steps given <span data-x="concept-response">response</span> <var>res</var>:</p>
100104100110

100105100111
<ol>

0 commit comments

Comments
 (0)