- From: Yoav Weiss <notifications@github.com>
- Date: Mon, 22 Mar 2021 08:44:51 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1185/review/617621985@github.com>
@yoavweiss commented on this pull request.
Halfway through, will finish the rest later today (post meetings)
> </dl>
+<p><dfn>Unsafe shared current time</dfn> is defined in [[HR-TIME]].
+<p class=XXX>Remove this once HR-TIME-3 refs are available.
+
+<p>A <dfn export>fetch timing info</dfn> is a <a for=/>struct</a> used to maintain timing
+information later required by the resource timing and navigation timing specs. It has the following
Nit: drop "later"?
> </dl>
+<p><dfn>Unsafe shared current time</dfn> is defined in [[HR-TIME]].
+<p class=XXX>Remove this once HR-TIME-3 refs are available.
You can remove that bit now
> @@ -2213,6 +2283,89 @@ clearly stipulates that <a>connections</a> are keyed on
<!-- See https://github.com/whatwg/fetch/issues/114#issuecomment-143500095 for when we make
WebSocket saner -->
+<p>The requirements for <dfn>recording connection timing info</dfn> given a <a for=/>connection</a>
+<var>connection</var> and its <a for=/>connection timing info</a> <var>timingInfo</var>, are as
+follows:
+<ul>
+ <li><p><var>timingInfo</var>'s <a for="connection timing info">domain lookup start time</a>
+ should be the <a for=/>unsafe shared current time</a> immediately before starting the domain
+ lookup, or beginning retrieval of the information from cache.
+
+ <li><p><var>timingInfo</var>'s <a for="connection timing info">domain lookup end time</a> should
+ be the <a for=/>unsafe shared current time</a> immediately after finishing the domain lookup, or
+ retrieving the information from cache.
+
+ <li><p><var>timingInfo</var>'s <a for="connection timing info">connection start time</a> should
+ be the <a for=/>unsafe shared current time</a> immediately before establishing the connection to
+ the server or proxy.
We need to state what happens when a previous connection was reused
> + connection, as well as other time intervals such as SOCKS authentication. It
+ must include the time interval to complete enough of the TLS handshake to
+ request the resource.
+
+ <li><p>If the user agent used TLS False Start [[RFC7918]] for this connection,
+ this interval must not include the time needed to receive the server's
+ Finished message.
+
+ <li><p>If the user agent sends the request with early data [[RFC8470]] without
+ waiting for the full handshare to complete, this interval must not include
+ the time needed to receive the server's ServerHello message.
+
+ <li><p>If the user agent waits for full handshake completion to send the
+ request, this interval includes the full TLS handshake even if other
+ requests were sent using early data on <var>connection</var>.
+ </ul>
Similar to above, we need to state what happens when a previous connection was reused
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1185#pullrequestreview-617621985
Received on Monday, 22 March 2021 15:45:04 UTC