Internet-Draft | HTTP Datagram PING | October 2021 |
Schwartz | Expires 7 April 2022 | [Page] |
This draft defines an HTTP Datagram Format Type for measuring the functionality of a Datagram path.¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document takes place on the mailing list (masque@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/masque/.¶
Source for this draft and an issue tracker can be found at https://github.com/bemasc/h3-datagram-ping.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 7 April 2022.¶
Copyright (c) 2021 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
PING is an HTTP Datagram Format Type [I-D.draft-ietf-masque-h3-datagram]. It has no Additional Data.¶
PING Datagrams have the following format:¶
All Sequence Number
and Opaque Data
values are potentially valid.¶
The sender emits a PING Datagram with any even Sequence Number
and any Opaque Data
. Upon receiving a PING Datagram with an even Sequence Number
, the recipient MUST reply with a PING Datagram whose Sequence Number
is one larger, with empty Opaque Data
.¶
Intermediaries MUST forward PING Datagrams without modification, just like any other HTTP Datagram.¶
PING Datagrams can be used to characterize the end-to-end HTTP Datagram path associated with an HTTP request. For example, HTTP endpoints can easily use PING Datagrams to estimate the round-trip time and loss rate of the HTTP Datagram path.¶
PING Datagrams are also suitable for use as DPLPMTUD Probe Packets [RFC8899]. This enables endpoints to estimate the HTTP Datagram MTU of each Datagram path, in order to avoid sending HTTP Datagrams that will be dropped.¶
Note that these path characteristics can differ from those inferred from the underlying transport (e.g. QUIC), if the HTTP request traverses one or more HTTP intermediaries (see Section 3.7 of [I-D.draft-ietf-httpbis-semantics]).¶
IANA is directed to add the following entry to the "HTTP Datagram Format Types" registry:¶
Thanks to Alex Chernyakhovsky for constructive input.¶