Re: ALT_SVC HTTP/3 Frame?

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 18 September 2019 22:22 UTC

Return-Path: <lucaspardue.24.7@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BB26120103 for <quic@ietfa.amsl.com>; Wed, 18 Sep 2019 15:22:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.747
X-Spam-Level:
X-Spam-Status: No, score=-1.747 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 mLSneYECEvz1 for <quic@ietfa.amsl.com>; Wed, 18 Sep 2019 15:22:32 -0700 (PDT)
Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) (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 709D71200E6 for <quic@ietf.org>; Wed, 18 Sep 2019 15:22:32 -0700 (PDT)
Received: by mail-vs1-xe35.google.com with SMTP id s7so953556vsl.2 for <quic@ietf.org>; Wed, 18 Sep 2019 15:22:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zuBcLqVjNBHnBGEfm3buh/puK4zLL3cSN2ADgggC2r8=; b=bZfMd3LdKjQaR+iGdwLVGyZNqQOCQ5EBmj64IJ9SZNzSMEPuPN03xzGb/kVmmKv8Bj 2cv0YotQseIfgdopz/2cMcOS9x99o5K4MzR80+0deqHTGhsNRlq4mWDj2eUE/ZSX3Ya4 CShrZW76QKQHilqaPlbB/WI4ZodP4GNVHNbGodo8H6deTlv/MAavmNOrb8qtRBKcC54c th6CG/tK7JbmjeDn/N5nRoB6AiLN8CAiS2+7BWfxwaO2dJ6yU4e9L3elrFsSNOQQS820 fSBOxkOs2BQaI4AOBDER04C0/8waZgSsZYRe7oODCjvV9tOT+wzM/knFBkWkOs83qkwF HLmg==
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=zuBcLqVjNBHnBGEfm3buh/puK4zLL3cSN2ADgggC2r8=; b=VYf4URWZwH55tW/FLI1dBJ7T/BfBFXSBK80kk8mlz6sPAKsLxI9A6n1N08n7nEMMhd /Rz7mrTAd7WCcK1mSw3vKl8cEQdBzqJBXjMBLeAhkSWL4JzS+Xdq9JoLzKAH3uQvsUaE +bbGjHMXKUrDYNBgZM4DLfJyWpC0928BKR6ldNVXxHqSFpKCVT2FloVTHGdGMso+q3Ga RUaca6DBE7qJSRD8LBIrJONc17JNzJrIxaG7TmCFvINHVV0RCBfwuX5c5LZNnOQbQljb gYAkdVmoOmzWZvGzUDzY/wZMbu2yuwW6IA5f4mN1HMUmMp1Awq0gDOoItSm9Ne4BWfs7 SUrg==
X-Gm-Message-State: APjAAAUuEc3bsffvQa1Fqet5RuoZOWphVWI358OuSLaPYadIEqSMbJzO xa45lBUgprIgGxS0Bl5VS55YzUHJdniJbPnk2zY=
X-Google-Smtp-Source: APXvYqx8NuY6zMr3Vt3b19TCKZU2wo1VFwSVq7xh3yH9QJ56ZD2ManlmhJXk2JuoTNvbNqplWfieZhWkFQgrscIgIyw=
X-Received: by 2002:a67:c392:: with SMTP id s18mr3807640vsj.15.1568845351546; Wed, 18 Sep 2019 15:22:31 -0700 (PDT)
MIME-Version: 1.0
References: <CAJ_4DfQxHg2Lcu4a0bNWoX35XxJS+CFm8b1r_360oJ4nCnpdjQ@mail.gmail.com> <CALGR9obKuxm4Ap=Dc9vpj7QBsfiuQ7JvWqYvQDcBjiauF+=Qag@mail.gmail.com> <CAJ_4DfSQ7AmZosRsk4cdCjzO_zMW5XgOFT6WRrV-UGDpcUMcqw@mail.gmail.com>
In-Reply-To: <CAJ_4DfSQ7AmZosRsk4cdCjzO_zMW5XgOFT6WRrV-UGDpcUMcqw@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 18 Sep 2019 23:22:25 +0100
Message-ID: <CALGR9oZf2TX8_1yPnOrR3=Dc_Sf5CD5LrEJMg120zu4nxLD-zg@mail.gmail.com>
Subject: Re: ALT_SVC HTTP/3 Frame?
To: Ryan Hamilton <rch@google.com>
Cc: QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e2f31b0592db456b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/3pry5m6pvcc4eF72wsON-dDtSZ8>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Sep 2019 22:22:35 -0000

I think in the last 2 years we've gained a better understanding of what
HTTP/3 is, how it varies from HTTP/2 and can tighten up the language. I'll
let Mike answer for his own doc though.

Lucas

On Wed, 18 Sep 2019, 22:51 Ryan Hamilton, <rch@google.com> wrote:

> Howdy,
>
> Ah, great! That helps. That being said, I think I'm not clear on what the
> language in A.2.3 means. Is it saying:
> 1) "Hey, when you get around to specifying an HTTP/3-specific version of
> an HTTP/2 frame type extension is should be pretty easy"
> 2) Or, "HTTP/2 extensions are translated to HTTP/3 like this."
>
> Given Mike's draft, I'm guessing it's 2? If so it might make sense to
> clarify A.2.3?
>
> Cheers,
>
> Ryan
>
> On Wed, Sep 18, 2019 at 1:21 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
> wrote:
>
>> Hi Ryan,
>>
>> Mike actually has an expired draft for this [1] dating back to 2017. The
>> code point (0xA) is the same, we've been careful to avoid the H3 frames
>> colliding.
>>
>> Maybe time to dust the ID off..
>>
>> Lucas
>>
>> [1] - https://tools.ietf.org/html/draft-bishop-httpbis-altsvc-quic-00
>>
>> On Wed, Sep 18, 2019 at 9:03 PM Ryan Hamilton <rch=
>> 40google.com@dmarc.ietf.org> wrote:
>>
>>> Howdy Folks,
>>>
>>> I'm trying to understand the state of the ALT_SVC frame in HTTP/3. It is
>>> not explicitly defined in the HTTP/3 draft, as far as I can tell. However,
>>> A.2.3 says
>>>
>>> ... frame type HTTP/2 extensions are typically portable to QUIC simply
>>> by replacing Stream 0 in HTTP/2 with a control stream in HTTP/3.
>>>
>>>
>>> Does this mean that I can send an HTTP/3 frame with type 0xa
>>> <https://tools.ietf.org/html/rfc7838#section-4> on the HTTP/3 control
>>> stream with the payload:
>>>
>>>     +-------------------------------+-------------------------------+
>>>     |         Origin-Len (16)       | Origin? (*)                 ...
>>>     +-------------------------------+-------------------------------+
>>>     |                   Alt-Svc-Field-Value (*)                   ...
>>>     +---------------------------------------------------------------+
>>>
>>> Do I have that right?
>>>
>>> Cheers,
>>>
>>> Ryan
>>>
>>