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

Andrew Ryan <aryan@llnw.com> Wed, 05 May 2021 17:43 UTC

Return-Path: <aryan@llnw.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 A4B173A1A61 for <hls-interest@ietfa.amsl.com>; Wed, 5 May 2021 10:43:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.588
X-Spam-Level:
X-Spam-Status: No, score=-1.588 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, 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=llnw.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 DITSFOlO0d0A for <hls-interest@ietfa.amsl.com>; Wed, 5 May 2021 10:43:03 -0700 (PDT)
Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65DFC3A1A62 for <hls-interest@ietf.org>; Wed, 5 May 2021 10:43:03 -0700 (PDT)
Received: by mail-vs1-xe2d.google.com with SMTP id j13so1533874vsf.2 for <hls-interest@ietf.org>; Wed, 05 May 2021 10:43:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=llnw.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=50RcommbN+E7m5iUVjgv1z6aP/BpqwmI+W4Y4R8YeJk=; b=AMDclcBWhOPnWjDoYMTk4JpJyUZyFU4y/XjI/fOolvyojpgMsCItrM83FymfetW70G ZUd/SBGwwmkEhgliYu1yMSYk4B605GCN9Mix/VGZbTMcPMnMBKG/rV+cSVxH0uhVai/O 9EbhxHKlvtLm3hXuO195qetpuv7CxfqtgGnLejt1/ylpKuxKfFk/GOrY+Tu0d6LK/Jp5 QztGjGT4X3itJz/U/unijYjh66Amgtd+TwLunBagkwlON70Fly6Q8+eYQbouPs2R1yZ2 kDh+565Q1Heqjz9SRehVSUrq7rlBJTvkbP3GK4RQoKDYczsWtcFAXwGdvUIfMxMOW4NE oG9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=50RcommbN+E7m5iUVjgv1z6aP/BpqwmI+W4Y4R8YeJk=; b=b1W67L3/5uM1wLXXblyXnTQlMxcfLQ0TaJQVOBcm8MGFBQ9vpLggo2OXmPobG2c5yn 7wl4Je7VuSJWMMOGxBriAAD3G59PGWp7yanhPd4QZJ61Xr0REYe5bnX2o5b63101Ms4E odsqGRVz0mFqjOQbnD2jiMA9Hj5SBQcRFMDshHUSqCqYSDQ2/VtHvHFMLRP52dvujLtL jfIyu356UKIcuDmH+xxIYwXwPLYJPtqH6EfiZ1/plzx5iHEFY32E4ULVJuYC1/XSZoX4 1hjk7BZUfo+iXQu9iHPZ7fx809mpvNvPCO2YuQ1JBQGEHr9oKOpfD+e19ABcvIQGJf28 UQpw==
X-Gm-Message-State: AOAM532OULVzlCf05sPVMD7aGoW1UWHQfLrXDM688MDMhF3V8v3QYROx SelTvXsFb0sPk9+yfqLjrk07/lOkAMND8+3fp8D7RV7WboCaQw==
X-Google-Smtp-Source: ABdhPJwMgHWvZ0IDVE7dkKZwFwk7aX85GiXo6i+f/0R7iFgaRrh81iemXTApsUomQmPdTP2Z/gtGVy6KJjLSTSPkwOE=
X-Received: by 2002:a67:27c2:: with SMTP id n185mr206012vsn.39.1620236581273; Wed, 05 May 2021 10:43:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAGw2CfPQegoU5zK=yrE77kNgFqyeggjd=tnULg4dnq9y8DBCYg@mail.gmail.com> <145A45F4-E9B7-4982-B973-6EFCFC2F1E72@akamai.com>
In-Reply-To: <145A45F4-E9B7-4982-B973-6EFCFC2F1E72@akamai.com>
From: Andrew Ryan <aryan@llnw.com>
Date: Wed, 05 May 2021 13:42:35 -0400
Message-ID: <CAGw2CfPp-7vbvyRiPUMq4kLwx4qojrLTBnVpoPbzTS5=F-_pZQ@mail.gmail.com>
To: "Law, Will" <wilaw=40akamai.com@dmarc.ietf.org>
Cc: "hls-interest@ietf.org" <hls-interest@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e126ee05c198b993"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hls-interest/3FYdqjADkMIW40bP-vtUM1mI4EY>
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 17:43:09 -0000

Will,
  Thank you for the response.  I agree with your position on the LL-HLS
player behavior in that it would not need to use the workflow described in
RFC8673 (HEAD with Range header), so that should circumvent this particular
concern with RFC8673.  This seems to then align with the idea that RFC8673
is only referenced for it's section pertaining to last-byte-pos and that
there isn't an expectation that other parts of RFC8673 should be considered
relevant.  Once again, Thank you for the reply and explanation.

On Wed, May 5, 2021 at 12:43 PM Law, Will <wilaw=40akamai.com@dmarc.ietf.org>
wrote:

> @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: 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: Image removed by sender.][image: Image removed by sender.]+1 716
> 250 9882 <+1+716+250+9882>
> www.limelight.com
> <https://urldefense.com/v3/__https:/www.limelight.com__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4ZhD5ETA$>
>
>
>
> [image: Image removed by sender. Facebook]
> <https://urldefense.com/v3/__https:/www.facebook.com/LimelightNetworks__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4YKDKJN0$>[image:
> Image removed by sender. LinkedIn]
> <https://urldefense.com/v3/__https:/www.linkedin.com/company/limelight-networks__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4W8yr_OX$>[image:
> Image removed by sender. Twitter]
> <https://urldefense.com/v3/__https:/twitter.com/llnw__;!!GjvTz_vk!EVXLogKl8pK9QJLuvxKpGGG6aldvMaZgyuG7-UOHPMl58hMwFx-l4dv7kLaF$>
>
>
>


-- 
[image: Limelight Networks] <https://www.limelight.com>
Andrew Ryan* Principal Architect*
EXPERIENCE FIRST.
+1 716 250 9882 <+1+716+250+9882>
www.limelight.com
[image: Facebook] <https://www.facebook.com/LimelightNetworks>[image:
LinkedIn] <https://www.linkedin.com/company/limelight-networks>[image:
Twitter] <https://twitter.com/llnw>