From d27e6a9bf585ef45c07cfda968a61703cbf68ec7 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Wed, 16 Feb 2022 20:04:31 +0200 Subject: [PATCH] Reestablilsh connection on EOF --- source | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source b/source index 3f744b096d7..879f0d7fd91 100644 --- a/source +++ b/source @@ -100060,10 +100060,16 @@ dictionary EventSourceInit { global object, and "other".

+
  • Let processEventSourceEndOfBody given + response res be the following step: + If res is not a network error, then + finalizeEventSourceFetch with res, and + reestablish the connection. +

  • Fetch request with processResponseEndOfBody set to - finalizeEventSourceFetch and processResponse set + processEventSourceEndOfBody and processResponse set to the following steps given response res: