Re: Lost initial MAX_PUSH_ID is unfortunate

Ryan Hamilton <rch@google.com> Thu, 29 August 2019 13:51 UTC

Return-Path: <rch@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 B496912007C for <quic@ietfa.amsl.com>; Thu, 29 Aug 2019 06:51:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 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, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham 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 0BzI_9NaWRgK for <quic@ietfa.amsl.com>; Thu, 29 Aug 2019 06:51:58 -0700 (PDT)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 BD14712004A for <quic@ietf.org>; Thu, 29 Aug 2019 06:51:57 -0700 (PDT)
Received: by mail-wr1-x432.google.com with SMTP id u16so3562859wrr.0 for <quic@ietf.org>; Thu, 29 Aug 2019 06:51:57 -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=hGiL3bQsMUtMAg6l97xSWE7OAM2sX/yHgvvFYpiAFvM=; b=UU0ONvPsmOOSeRPBHWGV1le/PH16CDu4bUCdhg1rxuE78I3svXFiyypdB5+DyCcrrG CZ9Cikk4/OlgO9miRCYh6Nt8Rocao3ENKVUboVu44LimrG9ytVi4tDsbpvPmzE7leYBV Rb54CI6rWfhKOXSDB9ObbmRznMoSZZWAc5xTuW3iKSNuIF7LnhcJMZhL36x+379Bn/Pb 2WDuqItDd+wocAhTOISwY9XwDejcxw0VCCuavmhwhRMmiyYAnliNE43BSQDIol4CZCJ2 UcK4n+3Qf8EeHnKsLNu6YxXUAg12omLfs6gDZ+zIpgne0Zby89YRtRvXR1TDvftfOHJR 2kzA==
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=hGiL3bQsMUtMAg6l97xSWE7OAM2sX/yHgvvFYpiAFvM=; b=oSrCw7jiABSqkGvvLQGucDHlVfFx2a9wYlfwmfrfUBsfjlNYKyN8+5nXLGxXgnlLI3 jmQb40xPlh1lB0/02yyqASUz2kTNYMcSEZolVBzo+I7ihoTrNbnuy1GNCaUf2qwJYeo8 OCMtHyRSbNeqyb2YVdmrMYRpT/60zhJgG54xzY0Or8bW/Vbe/kvgyblau5ttnpYSniQD PLuRwE22fqBM/ti4q1053p+Etr2dJAP+YMF2z8Tg+XfKJd3zQBSU8vRLCSvV/9VGrkmy XMdeBWG2/Q6B36v/OLZAW+8IVGYr/Xo+EcsTo5uhyojw/OS2/KLxAV8giL98rrcIOng7 NAYQ==
X-Gm-Message-State: APjAAAXhsJ2PsDIUcKiqt0z7B6Y02n/wfYwJNpboPmTm9Hp+mNaGoq5l atoVal/ZhZZyBkO3EPSOCFfLjiG6boH12Izc+cRUSfgrD9U=
X-Google-Smtp-Source: APXvYqy5Mo/0eJ3H6CT3o2u0Dl40WbbZyBOT2EfP24mTIUjmByc6j/U51iQoNyH/lgJmRKYEhi6b/aommk59p+l8gPg=
X-Received: by 2002:a5d:62c2:: with SMTP id o2mr4106239wrv.350.1567086715833; Thu, 29 Aug 2019 06:51:55 -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>
In-Reply-To: <3db7ef09-36fc-4adf-933c-39d3ae4be5c5@www.fastmail.com>
From: Ryan Hamilton <rch@google.com>
Date: Thu, 29 Aug 2019 06:51:43 -0700
Message-ID: <CAJ_4DfQ=vMq3ZFpWU9QAmBXDF+rd=AwooXiSXahUf7V4gmZoAw@mail.gmail.com>
Subject: Re: Lost initial MAX_PUSH_ID is unfortunate
To: Martin Thomson <mt@lowentropy.net>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000007efd7059141cffb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/3icu0iMCLLF9Lar206IDaSe9FFg>
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: Thu, 29 Aug 2019 13:52:00 -0000

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.