Internet-Draft | MASQUE throughput advice capsule | October 2024 |
Ihlar & Kühlewind | Expires 24 April 2025 | [Page] |
This document specifies a new Capsule (RFC9297) that can be used with CONNECT-UDP (RFC9298), CONNECT-IP (RFC9484), or other future CONNECT extensions to signal throughput advice for traffic that is proxied through an HTTP server.¶
This note is to be removed before publishing as an RFC.¶
Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ihlar-scone-masque-mediabitrate/.¶
Discussion of this document takes place on the Standard Communication with Network Elements Working Group mailing list (mailto:[email protected]), which is archived at https://mailarchive.ietf.org/arch/browse/scone/. Subscribe at https://www.ietf.org/mailman/listinfo/scone/.¶
Source for this draft and an issue tracker can be found at https://github.com/mirjak/draft-masque-mediabitrate.¶
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 24 April 2025.¶
Copyright (c) 2024 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document specifies an HTTP Capsule (RFC9297) that can be used with CONNECT-UDP (RFC9298), CONNECT-IP (RFC9484), or other future CONNECT extensions to signal throughput advice for traffic proxied through an HTTP server.¶
The extension can be used with the HTTP CONNECT method when the :protocol pseudo-header is equal to "connect-udp" or "connect-ip", as well as with future CONNECT protocols that use the Capsule Protocol.¶
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.¶
A client that wishes to receive throughput advice capsules can indicate support by sending a request header with the boolean-valued Item Structured Field: "Throughput-Advice: ?1". The HTTP proxy can indicate support by sending a response header with the same boolean-valued Item Structured Field: "Throughput-Advice: ?1". See Section 3.3.6 of [RFC8941] for information about the boolean format.¶
Once support has been established, a proxy MAY send THROUGHPUT_ADVICE capsules at any time during the lifetime of the stream that originated the request.¶
The THROUGHPUT_ADVICE Capsule has the following format:¶
THROUGHPUT_ADVICE Capsule { Type (i) = 0xTBD, Length (i) Bitrate (i) [Average Window (i)] }¶
The capsule has the following fields:¶
Bitrate: The maximum sustainable throughput that the client can expect for proxied traffic, expressed in kilobits per second.¶
Average Window: Indicates the duration over which the bitrate is enforced, expressed in milliseconds. This field is optional.¶
If the sole purpose of the communication between a client endpoint and a network element is the exchange of throughput advice, it is RECOMMENDED to use more lightweight approaches than HTTP proxying, such as [SCONE] or [TRAIN].¶
However, in cases where clients connect to the Internet via MASQUE proxies and also want to receive throughput advice from the MASQUE proxy, it can be beneficial to communicate directly with the proxy using the already established communication channel.¶
TODO Security¶
This document adds following entries to the "HTTP Capsule Types" registry:¶
Capsule Type | Value | Specification |
---|---|---|
MEDIA-BITRATE | TBD | (This document) |
This document adds following entry to the "Hypertext Transfer Protocol (HTTP) Field Name Registry":¶
Field Name | Template | Status | Reference | Comments |
---|---|---|---|---|
Throughput-Advice | permanent | (This document) |
TODO acknowledge.¶