Re: [hybi] Multiplexing extension spec draft 03

John Tamplin <jat@google.com> Tue, 27 March 2012 16:38 UTC

Return-Path: <jat@google.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 98C4521E8087 for <hybi@ietfa.amsl.com>; Tue, 27 Mar 2012 09:38:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rhz9Df16BYhW for <hybi@ietfa.amsl.com>; Tue, 27 Mar 2012 09:38:37 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id B101321E8097 for <hybi@ietf.org>; Tue, 27 Mar 2012 09:38:37 -0700 (PDT)
Received: by vcbfk13 with SMTP id fk13so79897vcb.31 for <hybi@ietf.org>; Tue, 27 Mar 2012 09:38:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=VtOuFDBj+99WV+doXx9bZ7aPP8L4456LxzK5CPeG8PU=; b=EXQ6k3yCWFpdxIlxbFWuM9NWiz/5KPbCjqykwKl4KpPzim3106IBupzm2OepnA0P63 QdwBDEJXL+x2zo5G6Q+LO5JP0VyxiWjr60mmTocVdaQ1KKSQuraQtudiuYU5GlZ7NcX7 IuLZhOzrqdbSNDlI7mWrvLd2PlK7Oe0qlRL4TWgGv/Npy0RTIW2Vo2l58hE2SEqPeK5K ZU4TGUuipVB5+9VwMSuTlmNXYHYLpPATwtX6Wglkkf4sVTSRu5SmTekDl+ZgyluVuJvt +lzHh+e9iqeHA2+6D9Au1rSM/8iMoPnJFf2/oEeyY2RUy3jAqpaq321ZhM97EnuE2o8n gfEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=VtOuFDBj+99WV+doXx9bZ7aPP8L4456LxzK5CPeG8PU=; b=AbVfXrQGcmhDRGSLbjVRutQOJqtVBFfQTL7tZd10RXfKDPN/7hQDknoFffJdz0kGXN HKHjofSA/IUFLqlGwWOxiWMR3N17eI2EuBW7yrW7xU4b96tis9CqI+H0ZP1VvkSMWpQq /UonNqmejoHuH0P5p2MgtjElaNL6RhPkOI7iOL4JgdxeOUpwrmUdf/ebez3FycfE1JF7 YEIgvljmzyCJ7YwjS6Epg/UtD9r1AiQvhVhymMQTMrDQPTzOXvrKg7Jr09Aq+2Yw660/ o0IUAe7wXHMOQMFkCB5RqAx92CdAkvjvhaqJa1F1vM6HhZvae8ct3hqgTf/q0L5/Nvmo dhWw==
Received: by 10.52.95.42 with SMTP id dh10mr3309926vdb.37.1332866317258; Tue, 27 Mar 2012 09:38:37 -0700 (PDT)
Received: by 10.52.95.42 with SMTP id dh10mr3309918vdb.37.1332866317187; Tue, 27 Mar 2012 09:38:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.191.67 with HTTP; Tue, 27 Mar 2012 09:38:16 -0700 (PDT)
In-Reply-To: <CAH9hSJbQmmzOvp+cadqBBffr-7+xaAE7TQyT2xKsmmyV1J-fOg@mail.gmail.com>
References: <CAH9hSJb1ewPO3EBgD78anD+=4XouToGR4X7C1wvWqonc2nYB6g@mail.gmail.com> <000301cd05dd$c8f9fc70$5aedf550$@noemax.com> <CAH9hSJYni6BboWdjkLX9xsguph7wJwjAmTUD1genFzT0ja5Wdw@mail.gmail.com> <003b01cd08d8$b1dd7050$159850f0$@noemax.com> <CAH9hSJYmL1ngaEJ1Th1kye2WKvJ4-zup1qbHCPLs+6MBOtS4Fg@mail.gmail.com> <CAH9hSJa7RQz=kreweLNH15ZpSHu3jZ1fRNOJXOmcy-v_SkmtKA@mail.gmail.com> <CAH9hSJbQmmzOvp+cadqBBffr-7+xaAE7TQyT2xKsmmyV1J-fOg@mail.gmail.com>
From: John Tamplin <jat@google.com>
Date: Tue, 27 Mar 2012 12:38:16 -0400
Message-ID: <CABLsOLBXzM0a9oucKwwLy_rdfZdQvVwJ=_YON7nzuT3nr52eYw@mail.gmail.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary="20cf307cfef85e7b3f04bc3c1f7c"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQn72uiqQH42zlu9Tjv7KI0zoKj/aPNIoLvbKhPzLIsgq9kotzpjnv84dZvcLlnrZ8dIlRRjpz43wJ0M/L2m2ftRqendPQhoT3iJE29x7svRm3bgO/Cn/hstariM99KoU61QiMek
Cc: hybi@ietf.org
Subject: Re: [hybi] Multiplexing extension spec draft 03
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 27 Mar 2012 16:38:38 -0000

On Tue, Mar 27, 2012 at 12:16 PM, Takeshi Yoshino <tyoshino@google.com>wrote:

> BTW, it looks like we need to clarify what to set to _Extensions In Use_.
>
> I can come up with two options
> - cut off mux token and everything after mux token that are applied to the
> physical channel
> - as-is
>
> IIRC, the motivation to expose the list of extensions in use to
> JavaScripts is to allow them to switch their behavior based on availability
> of optimization (compress, mux), e.g. fallback to HTTP when compression is
> not available. This can be done by server side too (We can reject the
> connection if mandatory extensions are not available to ask the client side
> to do something else. We also have close status 1010 to do this now), so
> not critical, but respecting the motivation, we should expose extensions in
> use "as-is".
>

hybi has no control over the JS API -- if you want to change the API
exposed to JS, that has to go through WHATWG.  This also doesn't seem
specific to any of the extensions we are discussing here, but rather a
general facility for exposing which extensions are in use.  AFAIK, there is
no standard API for the server side, so this would have to be done by each
implementation.

-- 
John A. Tamplin
Software Engineer (GWT), Google