Re: Lost initial MAX_PUSH_ID is unfortunate

Ian Swett <ianswett@google.com> Tue, 03 September 2019 22:00 UTC

Return-Path: <ianswett@google.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 5F672120137 for <quic@ietfa.amsl.com>; Tue, 3 Sep 2019 15:00:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 9qqmdDQwf97z for <quic@ietfa.amsl.com>; Tue, 3 Sep 2019 15:00:51 -0700 (PDT)
Received: from mail-vk1-xa2e.google.com (mail-vk1-xa2e.google.com [IPv6:2607:f8b0:4864:20::a2e]) (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 3D8B112013A for <quic@ietf.org>; Tue, 3 Sep 2019 15:00:51 -0700 (PDT)
Received: by mail-vk1-xa2e.google.com with SMTP id h192so3928380vka.1 for <quic@ietf.org>; Tue, 03 Sep 2019 15:00:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wB7i4HQDeEoskpk7LsUrquHZZ0OvcSx+bheuD2mk1C8=; b=UwpgesdF0Yn46DLVDErXQqsku1OlDCrNIMxKSUnSgx1MADlP88P8r94yqAWVfpJzEw uRsnmzxhcPfLWut8xpvbdqzAdGgeGNqYh3Nd2gI8+4bpsBWT1UfxxN1LgC3wtYx3D8zV 4E35fxEFtxMofw+kyXB6Sv8XA+LUKQdLisn2DIWnkPO7gRMjU6ul/dDj0NkoAhzavRDL qCsdXBsqCZ8uWKjPNTSyn9pcrWRzmBzbc38aGxygiqLKZqC9LKF0qrGhgWkPGOcnP90X RDXK+Z435SsJuyWariRyQVxseRszX9qYxp9SPK5HNpsQe9lMRWNHSItWb7Yos5i8thP7 Mh1g==
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=wB7i4HQDeEoskpk7LsUrquHZZ0OvcSx+bheuD2mk1C8=; b=BnaeSIJxRNrGjp5Wftn1cWCQkbq4KrDK17P2fumHvEXEwRVCmgqqsX0DV17xoYZs5R xA8r8hAbG58ESuQyVT5rYRh2sx7u3qhih2i+Zm11hrV7Jh1IYKstf+AEGuG2263J2NLN 35gGLYDD+V7+6vqUPuOAeMyt3PDwZiUryS9mBS07DkvJIJ5Y8pXMbTvb9BWi1qV0ORQw 7pjDE1wAiMRDYCT/wmUx4KpZEoLl+D+OMnZWh/x/d2fx4+1/DrJ5CmmsSt/FK7AfMlId z2GH6rdaCcCwjpXfpJD89H6uvoMhfwSqzWplxm+1GTV2glWgK955N0zpc6qivQGkh4yc 88xg==
X-Gm-Message-State: APjAAAWr6p7aqy5enMNWr7jRF4Ic1pOpj2Y6FU/t4jBc+Pjzp0/gG/l/ ykeFrZjpR4rjH6CM+M224DIppiAehoPpfqGEBlLIoQ==
X-Google-Smtp-Source: APXvYqwPQJGts8CBR0Rgc/Fsi0RGNgeCIDuWeRDXxiCXNAT/d0nsor0V+jULUwzwglO7jia4ewMiR7oGLZckhdZUh9E=
X-Received: by 2002:a1f:c746:: with SMTP id x67mr17799402vkf.50.1567548049894; Tue, 03 Sep 2019 15:00:49 -0700 (PDT)
MIME-Version: 1.0
References: <CAJ_4DfSE4_2GR5peGeRuWnixgdc9ucGiXtab=c0fXbqedFHsgA@mail.gmail.com> <1931a6f6-a25f-478e-b150-a200e0c3c69e@www.fastmail.com> <CACdeXiLM6q0AZWEWAwfBL5J=zAPkFiXfr+_=OU0cS-uuqW9wxQ@mail.gmail.com> <3db7ef09-36fc-4adf-933c-39d3ae4be5c5@www.fastmail.com> <CAJ_4DfQ=vMq3ZFpWU9QAmBXDF+rd=AwooXiSXahUf7V4gmZoAw@mail.gmail.com>
In-Reply-To: <CAJ_4DfQ=vMq3ZFpWU9QAmBXDF+rd=AwooXiSXahUf7V4gmZoAw@mail.gmail.com>
From: Ian Swett <ianswett@google.com>
Date: Tue, 03 Sep 2019 18:00:37 -0400
Message-ID: <CAKcm_gPegOUJUGqDf7oDGz-_A2dG7ELyd-vsRh1Y0YFwXyN9tQ@mail.gmail.com>
Subject: Re: Lost initial MAX_PUSH_ID is unfortunate
To: Ryan Hamilton <rch=40google.com@dmarc.ietf.org>
Cc: Martin Thomson <mt@lowentropy.net>, IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000af36560591ad38d0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/YlgM4976mAGvTX8RZ1He3WhvMBo>
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: Tue, 03 Sep 2019 22:00:55 -0000

I think max push ID in settings definitely makes sense if SETTINGS are in
the crypto handshake, but if we don't pursue that route, I think it ends up
being slightly more complex, because a MAX_PUSH_ID frame could arrive
before the corresponding setting.

On Thu, Aug 29, 2019 at 9:52 AM Ryan Hamilton <rch=
40google.com@dmarc.ietf.org> wrote:

> On Wed, Aug 28, 2019 at 4:50 PM Martin Thomson <mt@lowentropy.net> wrote:
>
>> On Thu, Aug 29, 2019, at 04:39, Nick Harper wrote:
>> > Why can't we have the best of both worlds? If we put this signal in the
>> > crypto handshake, the application protocol can guarantee that it
>> > arrives before any STREAM frames, and we don't introduce any more head
>> > of line blocking because the connection is already blocked on the
>> > crypto handshake messages to derive 0-RTT or 1-RTT application data
>> > keys.
>>
>> You can already have that.  Coalescing the packet containing
>> SETTINGS/MAX_PUSH_ID with the last Handshake packet is entirely possible
>> and has the same net effect.  And most implementations will be able to
>> manage that (at least on the client side, coalescing 0.5RTT from the server
>> is a little challenging).
>>
>> But it's not best of both worlds, that would be forcing head of line
>> blocking.  Right now, implementations choose their level of exposure.
>>
>
> Yeah, coalescing SETTINGS/MAX_PUSH_ID along with the last handshake packet
> is definitely a possibility, and is the option I'm planning to pursue in
> our implementation if the proposal to put SETTINGS in Transport Params is
> really dead :) On the other hand if that proposal gains traction, I'd love
> to see an initial max push id setting.
>