Re: [Hls-interest] Question about RFC8673 reference in draft-pantos-hls-rfc8216bis-09

"Law, Will" <wilaw@akamai.com> Wed, 05 May 2021 16:43 UTC

Return-Path: <wilaw@akamai.com>
X-Original-To: hls-interest@ietfa.amsl.com
Delivered-To: hls-interest@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32FB73A185A; Wed, 5 May 2021 09:43:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.189
X-Spam-Level:
X-Spam-Status: No, score=-2.189 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001, URI_NOVOWEL=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=akamai.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cK-QL6FeLNbC; Wed, 5 May 2021 09:43:43 -0700 (PDT)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1AB8F3A18E0; Wed, 5 May 2021 09:43:29 -0700 (PDT)
Received: from pps.filterd (m0050096.ppops.net [127.0.0.1]) by m0050096.ppops.net-00190b01. (8.16.0.43/8.16.0.43) with SMTP id 145GeoJo027564; Wed, 5 May 2021 17:43:27 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=jan2016.eng; bh=70K0JtGcxVItjIA/AWm+y9ZXzLgahM3ohbwC9+D3umw=; b=b0jHU9RlzeFLi038HVhqCGc+ZR0DetqNL0KYzs+Y7yo2NcZuqRHrMK+T0Era9QU0bsJL H8AHkvz937Li7Oz75YkOiW7kN5bYiBH2d2dNoOPt6ihXSgHlGZzYx/9k5AkMZmJ9PUsE pMv1HJPr1HJkl/hvjS4ig76qlefFZQljijYZyTy5G7IQ87yedHh2CS6go9qWio1JR/gi 8X6jpWe8wLB5b30oMujUKdBIAtO/kVUtxhu0Rh+kWLuay8SyUWBKbGhYPVQC5Z+3uCL6 j6gJ7FUyTuXwDUCCwaJygh17YtEFl4RymVMNV84tLETfPg/lLgKPPCaHbAe2+Il3Sy6a Hg==
Received: from prod-mail-ppoint8 (a72-247-45-34.deploy.static.akamaitechnologies.com [72.247.45.34] (may be forged)) by m0050096.ppops.net-00190b01. with ESMTP id 38bebt45qg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 17:43:26 +0100
Received: from pps.filterd (prod-mail-ppoint8.akamai.com [127.0.0.1]) by prod-mail-ppoint8.akamai.com (8.16.1.2/8.16.1.2) with SMTP id 145GYdEe017249; Wed, 5 May 2021 12:43:25 -0400
Received: from email.msg.corp.akamai.com ([172.27.165.115]) by prod-mail-ppoint8.akamai.com with ESMTP id 38bebh7ynq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 05 May 2021 12:43:25 -0400
Received: from ustx2ex-dag1mb6.msg.corp.akamai.com (172.27.165.124) by ustx2ex-dag1mb2.msg.corp.akamai.com (172.27.165.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 5 May 2021 11:43:24 -0500
Received: from ustx2ex-dag1mb6.msg.corp.akamai.com ([172.27.165.124]) by ustx2ex-dag1mb6.msg.corp.akamai.com ([172.27.165.124]) with mapi id 15.00.1497.012; Wed, 5 May 2021 11:43:24 -0500
From: "Law, Will" <wilaw@akamai.com>
To: Andrew Ryan <aryan=40llnw.com@dmarc.ietf.org>
CC: "hls-interest@ietf.org" <hls-interest@ietf.org>
Thread-Topic: [Hls-interest] Question about RFC8673 reference in draft-pantos-hls-rfc8216bis-09
Thread-Index: AQHXQcjfSxrwcKa0VkSXRP2IRLjg96rU9mwA
Date: Wed, 05 May 2021 16:43:24 +0000
Message-ID: <145A45F4-E9B7-4982-B973-6EFCFC2F1E72@akamai.com>
References: <CAGw2CfPQegoU5zK=yrE77kNgFqyeggjd=tnULg4dnq9y8DBCYg@mail.gmail.com>
In-Reply-To: <CAGw2CfPQegoU5zK=yrE77kNgFqyeggjd=tnULg4dnq9y8DBCYg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.48.21041102
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.27.164.43]
Content-Type: multipart/alternative; boundary="_000_145A45F4E9B74982B9736EFCFC2F1E72akamaicom_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_09:2021-05-05, 2021-05-05 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 malwarescore=0 adultscore=0 phishscore=0 mlxscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2105050115
X-Proofpoint-ORIG-GUID: e1wfyTAovn7tNE9qoLxREf5dmulFtIWn
X-Proofpoint-GUID: e1wfyTAovn7tNE9qoLxREf5dmulFtIWn
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-05_09:2021-05-05, 2021-05-05 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1011 adultscore=0 mlxscore=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2105050116
X-Agari-Authentication-Results: mx.akamai.com; spf=${SPFResult} (sender IP is 72.247.45.34) smtp.mailfrom=wilaw@akamai.com smtp.helo=prod-mail-ppoint8
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/RITKbVfSfEEiwplG1ZlGm-zspVM>
Subject: Re: [Hls-interest] Question about RFC8673 reference in draft-pantos-hls-rfc8216bis-09
X-BeenThere: hls-interest@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions about HTTP Live Streaming \(HLS\)." <hls-interest.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hls-interest/>
List-Post: <mailto:hls-interest@ietf.org>
List-Help: <mailto:hls-interest-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hls-interest>, <mailto:hls-interest-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 May 2021 16:43:49 -0000

@Andrew – thanks for raising scrutiny on RFC8673. I did want to point out that the use case in RFC8673 concerning a HEAD request that you excerpt below is for a client that is a) wanting to find out if a representation is continuously aggregating and b) to discover what is the latest byte available. A LL-HLS player does not need to do either of these actions. It knows that a representation is aggregating (it is a consequence of byte-range addressing in the media playlist) and the media playlist very conveniently gives it the starting byte position of what it needs to request. So there is no need for the discovery HEAD request. It can immediately proceed to a GET request, using the first-byte value given to it by the playlist and the last-byte value of 9007199254740991 (per RFC 8673). In my interpretation then, this does not conflict with the RFC8216 restriction that a server MUST ignore a Range header field received with a request method other than GET, since a LL-HLS client will not need to execute a HEAD request.

Cheers
Will


From: Andrew Ryan <aryan=40llnw.com@dmarc.ietf.org>
Date: Wednesday, May 5, 2021 at 9:08 AM
To: "hls-interest@ietf.org" <hls-interest@ietf.org>
Subject: [Hls-interest] Question about RFC8673 reference in draft-pantos-hls-rfc8216bis-09

Greetings,
  I was hoping to gain clarification on the reference of RFC8673 (Experimental) in https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-09#section-4.4.5.3<https://urldefense.com/v3/__https:/tools.ietf.org/html/draft-pantos-hls-rfc8216bis-09*section-4.4.5.3__;Iw!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4UIeX2U4$>

  Based on the previous discussions on this list, the use case for defining the Very Large Number in the last-byte-pos is understood, and I can see the reasoning behind referencing https://tools.ietf.org/html/rfc8673#section-4<https://urldefense.com/v3/__https:/tools.ietf.org/html/rfc8673*section-4__;Iw!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4UVFZHsR$> in this case.

  After further review of RFC8673, there is a section which may present an issue

  in RFC8673 at https://tools.ietf.org/html/rfc8673#section-2.1<https://urldefense.com/v3/__https:/tools.ietf.org/html/rfc8673*section-2.1__;Iw!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4V9ngmQd$> it states:
    Determining if a representation is continuously aggregating ("live")
    and determining the randomly accessible byte range can both be
    performed using the existing definition for an open-ended byte-range
    request. Specifically, Section 2.1 of [RFC7233] defines a byte-range
    request of the form:

    byte-range-spec = first-byte-pos "-" [ last-byte-pos ]

    which allows a client to send a HEAD request with a first-byte-pos
    and leave last-byte-pos absent. A server that receives a satisfiable
    byte-range request (with first-byte-pos smaller than the current
    representation length) may respond with a 206 status code (Partial
    Content) with a Content-Range header field indicating the currently
    satisfiable byte range.

  If we look at RFC7233 at https://tools.ietf.org/html/rfc7233#section-3.1<https://urldefense.com/v3/__https:/tools.ietf.org/html/rfc7233*section-3.1__;Iw!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4Y0qKZ7W$> it states
   A server MAY ignore the Range header field.  However, origin servers
   and intermediate caches ought to support byte ranges when possible,
   since Range supports efficient recovery from partially failed
   transfers and partial retrieval of large representations.  A server
   MUST ignore a Range header field received with a request method other
   than GET.

  As I interpret the above section of RFC8673: It is intending to use a HEAD request with a Range header with the goal of getting a 206 response with a Content-Range response header to determine current asset length. RFC7233 states that the Range request header MUST be ignored unless the request is a GET. If my interpretation is correct, this seems to indicate an incompatibility for what is being proposed in RFC8673 and what is currently specified in RFC7233.

  The question I was hoping to gain clarification on is if RFC8673 is referenced in draft-pantos-hls-rfc8216bis-09 specifically for the last-byte-pos component or if there is an expectation of incorporating more concepts from RFC8673 as well.

Thank you very much for your time.

--
[Image removed by sender. Limelight Networks]<https://urldefense.com/v3/__https:/www.limelight.com__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4ZhD5ETA$>

Andrew Ryan Principal Architect
EXPERIENCE FIRST.
[Image removed by sender.][Image removed by sender.]+1 716 250 9882<tel:+1+716+250+9882>
www.limelight.com<https://urldefense.com/v3/__https:/www.limelight.com__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4ZhD5ETA$>


[Image removed by sender. Facebook]<https://urldefense.com/v3/__https:/www.facebook.com/LimelightNetworks__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4YKDKJN0$>[Image removed by sender. LinkedIn]<https://urldefense.com/v3/__https:/www.linkedin.com/company/limelight-networks__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4W8yr_OX$>[Image removed by sender. Twitter]<https://urldefense.com/v3/__https:/twitter.com/llnw__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4dv7kLaF$>