Re: [hybi] New Version Notification for draft-mcmanus-httpbis-h2-websockets-00.txt

Martin Thomson <martin.thomson@gmail.com> Mon, 16 October 2017 03:57 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 646D01320CF for <hybi@ietfa.amsl.com>; Sun, 15 Oct 2017 20:57:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 hnD9KZO1SpPy for <hybi@ietfa.amsl.com>; Sun, 15 Oct 2017 20:57:27 -0700 (PDT)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 67C3C1270AE for <hybi@ietf.org>; Sun, 15 Oct 2017 20:57:27 -0700 (PDT)
Received: by mail-oi0-x235.google.com with SMTP id w197so23237394oif.6 for <hybi@ietf.org>; Sun, 15 Oct 2017 20:57:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3iIXGZEG6a0lZLDsfNqTeqUTI9EeXm3fWtAwr5fXYG4=; b=DiWQWPHh+soTlAPDgcspDlfhCiOc9BE75zcXAuCVi2cJeZL19IkS8TfkoEZbLhzXX5 RDqwbgTs+jJVYWYqqwZKK1YAiELIG2iWWmpSpTYuIpFdFL0nvY+sQiuH4tth8fWpVufG /dEn6RexlTcanOEMIrw5mo+jS+3f3fusijELalCXbatq2woYwEghreTOeW24jovr1T9q zNNcYi5AzIqnO8+zJULzBsJE2fUiWEBxADfSIzSFergaOQ0O5SWmyTfkLY/F2ANJQSHd GjcpWdvw0NvTidMAzmU8AKAgJnJD8WnOHYWGSf/eTBfFqbP1LFlHho5yCj3JUjTt/7YF EuSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3iIXGZEG6a0lZLDsfNqTeqUTI9EeXm3fWtAwr5fXYG4=; b=i0JfpVXVrcJT6Nmuc16VoCxd6jU/KGAW5aLUdjPtZ69xhHar/4ujBpDdacxRhKSVBu wN4PIjrtptRpF7WC990QoRvE2Kvjdc501oG1JrUZazF63vksygSKGpoTsN7Yapx321SO OYy1MjKSj7rkauXvnJPSjVxWcTjzQpzJG6IE4G+Ewb3TVb3JeZfDFPXdYPwGM57yGNjR soS+NVd//oD0UTvPc1wzhQBJcZZIk4fYaFFLZkhbJRQNflrWO8CSe8Hq3MyZbZjOZjZJ YzwjNVCYfIn1vyT89OLSNDo/JpVoOlS88mtlwdl8eiAFohfTcxcN3aQ98M5FjGU1MMgr 3USA==
X-Gm-Message-State: AMCzsaXMpUkBnhPJbMK3XqJmPsTL0JGEjyFPcrmwXccqT2nttrZa4e9o Y49CzbcRIVkU1YVbbj0X8KvjmppJ0hdDNOBuQ/g=
X-Google-Smtp-Source: ABhQp+RLmedog/QDBgprkvEFzIM+2mdVTXhtKLfmodU3IwU/geGce7LazKdZq+V0z/GzjlL0CzJvcdoqPd2ADWa661o=
X-Received: by 10.202.75.216 with SMTP id y207mr4865444oia.282.1508126246705; Sun, 15 Oct 2017 20:57:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.157.72.178 with HTTP; Sun, 15 Oct 2017 20:57:26 -0700 (PDT)
In-Reply-To: <3dd5002d-49ca-4af5-1b38-f1dbe530b98e@warmcat.com>
References: <150807649389.12130.9191022211105955718.idtracker@ietfa.amsl.com> <CAOdDvNqhaTJmLcEk3CwBBaAbdOroc4U46z+nJzC7+chd1ErSDA@mail.gmail.com> <FEBB57D4-E841-4F45-9B62-81FFC653FF70@lukasa.co.uk> <0F93FB58-579D-4F52-8F22-5FEAFBC99165@warmcat.com> <CAOdDvNpCVxsaKEzoW3EWsK1hmWSBPOP+GHnK-DcP4QO4om_khQ@mail.gmail.com> <f4bb6b5c-b12e-dc59-6faa-15588b692574@warmcat.com> <CABkgnnUfDwYmxi72f-x=z=iwf4+3L_rcLqufJRYvEMpP=Fb3MA@mail.gmail.com> <a4229e61-fb04-30b1-f2c7-a862645d0059@warmcat.com> <CABkgnnX0uXm1mDHL+dy6Z+mCZdofkEshd5jy-a0jV-Hsp88yQA@mail.gmail.com> <3dd5002d-49ca-4af5-1b38-f1dbe530b98e@warmcat.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 16 Oct 2017 14:57:26 +1100
Message-ID: <CABkgnnWfTcGyUDBfSs1S+M4xaeELZKXa=9JP79kKKvsSjL_ouA@mail.gmail.com>
To: Andy Green <andy@warmcat.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, hybi <hybi@ietf.org>, Cory Benfield <cory@lukasa.co.uk>, Patrick McManus <mcmanus@ducksong.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/L5UX0UJRADhC48-wsDP_BpT0lhM>
Subject: Re: [hybi] New Version Notification for draft-mcmanus-httpbis-h2-websockets-00.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Oct 2017 03:57:28 -0000

On Mon, Oct 16, 2017 at 2:08 PM, Andy Green <andy@warmcat.com> wrote:
> I think you misunderstood something... as it is he has to wait for the
> SETTINGs to tell him it's possible, wait for the CONNECT and response and
> wait for the ws handshake to go through before he can send something.

No, I'm just saying that if you proceed like the CONNECT will work,
then you can save an RTT over that.  Given that you have a clear
indication that the server accepts WS, then you don't need to worry
about this.

Keep in mind that you don't have to wait a round trip for the server
SETTINGS frame in TLS 1.3.  That means that you aren't saving much
with any of these extra steps.