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 3616012008F
 for <quic@ietfa.amsl.com>; Fri, 27 Sep 2019 06:44:38 -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 qnCNW0ElQhQ2 for <quic@ietfa.amsl.com>;
 Fri, 27 Sep 2019 06:44:35 -0700 (PDT)
Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com
 [IPv6:2607:f8b0:4864:20::931])
 (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 B682E120043
 for <quic@ietf.org>; Fri, 27 Sep 2019 06:44:35 -0700 (PDT)
Received: by mail-ua1-x931.google.com with SMTP id r19so1938179uap.9
 for <quic@ietf.org>; Fri, 27 Sep 2019 06:44:35 -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=LmbaQzSuD8/M8M0Kvx1WvXXYMCMpEeVHoTimVDkDVgc=;
 b=cAXbHl3wgIWT0E3KDthgQa1VpVqQrr+cnIw3w+WO4a9sylVe1x6z09OO/iZJgJzrtQ
 gq4VUebMf6QQ73VeSz0Z2YdDQ++KQsdVan9Hu40uS6RdqUy4VUPj/MvGcJSK+VMmT3T7
 7wFqwD+MIxiBoL/UEVbIIUMxMsd8hBdILJb9OSil5BA6yjO+XJbvoDk3o/3qnT/8ovkE
 +rcvUkrUvQLUwlmMs2H8mERsM0l9B3c65BLEG6GoSHBftGtC4b9ix8AsX3lB9SS4ily+
 ymR/37znY2W53wfhdbfP03jCK5MqoWiXB6+693OB52XWHTcFqklm6bkrijgr49fKs0Ht
 dEiQ==
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=LmbaQzSuD8/M8M0Kvx1WvXXYMCMpEeVHoTimVDkDVgc=;
 b=LY8ncPbDE36BMTSFW3zmp7L73rS/lu4QXQSH08NImhJKhHA0236hiay24g6vQHPItt
 ypaYgL9ejD84nHLG7LWVm7wMAZ5w22xZD/o3mb9Zhpz5PZnaC9fAi0wt2/p7B1cO4NwR
 kemH6QTQGZL8nZEQr7czZVQ2pq3/WK7VWo7F0Vc239ZmKIZItWmcoI7Pwelne8g3P38j
 tOolGRUxKBJDkJLJBGtHgn/qzRALeUCi/6Nx/m7i+Zmq11Nh27W416M5m7ME9FkDWC/B
 cpObT6RLzrLSq6JCwkMmqgyvxlQF0nKVCNfEhBCHwOcRjia86QTB4wSicbJvTm+iBaMQ
 X06Q==
X-Gm-Message-State: APjAAAWmYqmvnLoeXk+pBLZglf0m1e5e7yq9wFNvvV2G6g0E5M5ChtJB
 GaNera5JIWM5bsCWI4WdBePjqTrpe7Q/+3U9RVKIrGbP
X-Google-Smtp-Source: APXvYqzI/I0zh5luEPYR8JlakKi1uYH3Rsd+5q7y9j9gmbti6KRQh1jYEhoBJZvShAw8B+InLwwG1TvOuegDkAOC3Aw=
X-Received: by 2002:a9f:2924:: with SMTP id t33mr2131849uat.69.1569591874565; 
 Fri, 27 Sep 2019 06:44:34 -0700 (PDT)
MIME-Version: 1.0
References: <CACdeXiLEnvmqmxSgXbvAwEo0rgm-F59RL2sk0Ugu6PNuiDkfsw@mail.gmail.com>
In-Reply-To: <CACdeXiLEnvmqmxSgXbvAwEo0rgm-F59RL2sk0Ugu6PNuiDkfsw@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Fri, 27 Sep 2019 14:44:22 +0100
Message-ID: <CALGR9obGGx6OZoKXi73NNRJfNnnazma5=F79Y1D94Lxb9VGEew@mail.gmail.com>
Subject: Re: Add application parameters to QUIC handshake and use it for H3
 SETTINGS
To: Nick Harper <nharper=40google.com@dmarc.ietf.org>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000203fb30593891605"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/FPUP7tu3msg2FPR9STdP5lOdUSU>
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: Fri, 27 Sep 2019 13:44:38 -0000

--000000000000203fb30593891605
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 27, 2019 at 1:52 AM Nick Harper <nharper=3D
40google.com@dmarc.ietf.org> wrote:

> This also provides opportunities for future features. Since the
> exchange of SETTINGS occurs before application data, a new feature
> doesn=E2=80=99t need to be specified in a way to provide an upgrade path =
from
> =E2=80=9Cvanilla=E2=80=9D H3 to something including this feature, and ins=
tead be
> guaranteed that the new feature can be used for the entire connection.
>
> Without application parameters, each application that needs to
> advertise or negotiate application settings needs its own mechanism to
> do so. This would result in multiple transport parameters or
> extensions leading to duplication of work and layering violations.
> Applications could instead exchange these settings in application
> data, meaning that each application needs to define the semantics of
> application data received before and after the settings have been
> exchanged, as H3 currently does.
>
>
HTTP/3 defines rules for processing its application parameter messages:
SETTINGS frames MUST NOT contain duplicate settings, a receiver MAY treat
this as a connection error with an application error code.

If SETTINGS were to move to QUIC handshake, would you expect that a
receiver of such a bogus message would generate a CONNECTION_CLOSE of type
0x1d? I'm guessing the checks would take place after ALPN selection had
taken place (at the server).

--000000000000203fb30593891605
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 27, 2019 at 1:52 AM Nick =
Harper &lt;nharper=3D<a href=3D"mailto:40google.com@dmarc.ietf.org">40googl=
e.com@dmarc.ietf.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">
This also provides opportunities for future features. Since the<br>
exchange of SETTINGS occurs before application data, a new feature<br>
doesn=E2=80=99t need to be specified in a way to provide an upgrade path fr=
om<br>
=E2=80=9Cvanilla=E2=80=9D H3 to something including this feature, and inste=
ad be<br>
guaranteed that the new feature can be used for the entire connection.<br>
<br>
Without application parameters, each application that needs to<br>
advertise or negotiate application settings needs its own mechanism to<br>
do so. This would result in multiple transport parameters or<br>
extensions leading to duplication of work and layering violations.<br>
Applications could instead exchange these settings in application<br>
data, meaning that each application needs to define the semantics of<br>
application data received before and after the settings have been<br>
exchanged, as H3 currently does.<br>
<br></blockquote><div><br></div><div>HTTP/3 defines rules for processing it=
s application parameter messages: SETTINGS frames MUST NOT contain duplicat=
e settings, a receiver MAY treat this as a connection error with an applica=
tion error code.</div><div><br></div><div>If SETTINGS were to move to QUIC =
handshake, would you expect that a receiver of such a bogus message would g=
enerate a CONNECTION_CLOSE of type 0x1d? I&#39;m guessing the checks would =
take place after ALPN selection had taken place (at the server). </div></di=
v></div>

--000000000000203fb30593891605--

