Re: [quicwg/base-drafts] Default settings in HTTP (#2038)

Lucas Pardue <notifications@github.com> Mon, 26 November 2018 19:49 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E474130DE0 for <quic-issues@ietfa.amsl.com>; Mon, 26 Nov 2018 11:49:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.46
X-Spam-Level:
X-Spam-Status: No, score=-4.46 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 3zDVAjFMF3nH for <quic-issues@ietfa.amsl.com>; Mon, 26 Nov 2018 11:49:54 -0800 (PST)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 8AEB112D84C for <quic-issues@ietf.org>; Mon, 26 Nov 2018 11:49:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=vzajspmwWwwMJi8bPwA/9CG6M2k=; b=Hb/b0BbBabYg+WA9 BUvT8IkjjfMLdYSpPIXh8wOfgffzMZJfLKwec+ukd2fI3x3dUFwwB29vUdCMr6C9 KEgn269XLTTp/GBf67fmYyjiT6Ti6Vi+ECyGQDWBzpzJRqvQln3pgjg7h0+fkCaV LwrENBTvOM9QVa9FDgoMwFWHAYs=
Received: by filter0476p1iad2.sendgrid.net with SMTP id filter0476p1iad2-24163-5BFC4E61-1D 2018-11-26 19:49:53.498178681 +0000 UTC m=+934444.806006315
Received: from github-lowworker-3c598a3.cp1-iad.github.net (unknown [192.30.252.43]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id KOB_LearRzSH7463cb4-5A for <quic-issues@ietf.org>; Mon, 26 Nov 2018 19:49:53.701 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-3c598a3.cp1-iad.github.net (Postfix) with ESMTP id A8876A802A6 for <quic-issues@ietf.org>; Mon, 26 Nov 2018 11:49:53 -0800 (PST)
Date: Mon, 26 Nov 2018 19:49:53 +0000
From: Lucas Pardue <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abfce0d1d717875febd322379e9f452bf85002aba992cf000000011814106192a169ce16d8e664@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2038/c441774031@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2038@github.com>
References: <quicwg/base-drafts/pull/2038@github.com>
Subject: Re: [quicwg/base-drafts] Default settings in HTTP (#2038)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bfc4e61a6ba9_2a863f97d62d45bc4821d"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: LPardue
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0U6Oz//+3FNUnVN4eqWm8T9EnC+UBGvqs/Ut 5RlMfZ3eaHSC1NHEr2f/Wz/Mzu8n9suZEfHnKU4CeHky/Sx0rvK+pL2Y6DxTSCRbrKKtSd9HonsXJ/ c89wtF8Q23DrirCfRD8BcHeJlRx8TYYCLa+jHE40fUmnSNaK2MZ/MfU5KesWTHTJqEIvvbiFASYZN+ 4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/YGcx5SiBh02ZZF1eW9CN5F8GuVs>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Nov 2018 19:49:56 -0000

That's a great write up but it's higher level than I was thinking.

If (and it's a big if) implementations decided it was more efficient to run
H3 on defaults without exchange of SETTINGS, we lose an effective
mechanism. This was part of the reason behind adding greasing. In practice,
I don't think this concern would play out but I wanted to identify it
before the change landed

On Mon, 26 Nov 2018, 19:33 Mike Bishop <notifications@github.com wrote:

> @LPardue <https://github.com/LPardue>, I think the key point here is in
> the text added to the extensions section: "SETTINGS does not provide a
> mechanism to identify when the choice takes effect."
>
> There are really three types of extensions:
>
>    - *Advisory, purely-optional frames / streams:* Send speculatively; if
>    the peer doesn't understand, they'll ignore them. Once you see SETTINGS, if
>    it's not supported, you can stop sending to save bytes.
>    - *Non-optional semantic-changing frames / streams:* Send only once
>    you've seen SETTINGS, but okay to use as soon as you see SETTINGS -- you
>    know the peer will handle them on receipt. Need to be willing to handle
>    "surprise" arrival of these frames / streams before SETTINGS, unless
>    they're frames on control streams.
>    - *Breaking changes to interpretation of existing frames/streams:*
>    Here's the sticky one. There's no coordination point to know when the
>    change to existing elements takes effect, so the peer could interpret what
>    you send under the old or new scheme unless the extension itself provides a
>    way to identify this.
>
> I think this really only harms the last category, and the easiest solution
> seems to be jumping into the previous category for most extensions I can
> envision. For example, redefining DATA to be a reference to a
> unidirectional stream instead of carrying payload would fall in the third
> bucket and be hard. But if you instead defined a new EXTERNAL_DATA frame,
> you've moved into the second bucket.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/pull/2038#issuecomment-441767889>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGRFtbwaELdpzLfcYyLWHz4_Ycq1k86Fks5uzEIMgaJpZM4YuNMm>
> .
>


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/2038#issuecomment-441774031