Skip to content

Commit

Permalink
Reestablilsh connection on EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Feb 16, 2022
1 parent 4ff2552 commit d27e6a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -100060,10 +100060,16 @@ dictionary <dfn dictionary>EventSourceInit</dfn> {
<span data-x="concept-settings-object-global">global object</span>, and
"<code data-x="">other</code>".</p></li>

<li><p>Let <var>processEventSourceEndOfBody</var> given
<span data-x="concept-response">response</span> <var>res</var> be the following step:
If <var>res</var> is not a <span>network error</span>, then
<var>finalizeEventSourceFetch</var> with <var>res</var>, and
<span>reestablish the connection</span>.

<li>
<p><span data-x="concept-fetch">Fetch</span> <var>request</var> with
<i data-x="processResponseEndOfBody">processResponseEndOfBody</i> set to
<var>finalizeEventSourceFetch</var> and <i data-x="process response">processResponse</i> set
<var>processEventSourceEndOfBody</var> and <i data-x="process response">processResponse</i> set
to the following steps given <span data-x="concept-response">response</span> <var>res</var>:</p>

<ol>
Expand Down

0 comments on commit d27e6a9

Please sign in to comment.