Re: H2 Implementation Debug State URI

Alex Rousskov <rousskov@measurement-factory.com> Mon, 08 August 2016 19:52 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE4D612D0AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Aug 2016 12:52:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.168
X-Spam-Level:
X-Spam-Status: No, score=-8.168 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.247, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 LYcxOGkrnu7C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Aug 2016 12:51:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A62FC12D09C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 8 Aug 2016 12:51:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bWqWq-0002pB-It for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Aug 2016 19:48:04 +0000
Resent-Date: Mon, 08 Aug 2016 19:48:04 +0000
Resent-Message-Id: <E1bWqWq-0002pB-It@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1bWqWl-0002nD-9z for ietf-http-wg@listhub.w3.org; Mon, 08 Aug 2016 19:47:59 +0000
Received: from mail.measurement-factory.com ([104.237.131.42]) by maggie.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <rousskov@measurement-factory.com>) id 1bWqWd-0006Us-Hj for ietf-http-wg@w3.org; Mon, 08 Aug 2016 19:47:56 +0000
Received: from [65.102.233.169] (unknown [65.102.233.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.measurement-factory.com (Postfix) with ESMTPSA id 8B7A7E06C; Mon, 8 Aug 2016 19:45:11 +0000 (UTC)
To: Cory Benfield <cory@lukasa.co.uk>
References: <63CCB07A-0204-4CF7-B598-9497D7112021@lukasa.co.uk> <4314.1470384112@critter.freebsd.dk> <B4171FD2-B154-4950-BF0C-4B5A4714367F@lukasa.co.uk> <57A4B820.9060300@measurement-factory.com> <44E9A3E7-C2CC-46EE-B198-A2E85273B032@lukasa.co.uk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Alex Rousskov <rousskov@measurement-factory.com>
Message-ID: <5221cf24-e49d-9748-d13c-abe02406beac@measurement-factory.com>
Date: Mon, 08 Aug 2016 13:45:09 -0600
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <44E9A3E7-C2CC-46EE-B198-A2E85273B032@lukasa.co.uk>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=104.237.131.42; envelope-from=rousskov@measurement-factory.com; helo=mail.measurement-factory.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-1.272, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.454, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bWqWd-0006Us-Hj 051ac3fc2a4ab2cd238795489e60037e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: H2 Implementation Debug State URI
Archived-At: <http://www.w3.org/mid/5221cf24-e49d-9748-d13c-abe02406beac@measurement-factory.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32227
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 08/06/2016 10:33 AM, Cory Benfield wrote:
> 
>> On 5 Aug 2016, at 17:00, Alex Rousskov <rousskov@measurement-factory.com> wrote:
>>
>> On 08/05/2016 03:07 AM, Cory Benfield wrote:
>>
>>> The longer term question is about how to deal with the fact that a
>>> misbehaving H2 connection could be the result of the H2 state in any of
>>> the hops on the connection. For example, if you have a connection that
>>> goes: client -> forward proxy A -> reverse proxy B -> origin server, and
>>> all those hops are H2, you really need to see H2 state in *all* of them
>>> to understand what the problem might be. However, the well-known URI
>>> doesn’t allow for that kind of debugging without requiring the awkward
>>> step of needing proxies to rewrite the response body to include their
>>> own data.
>>
>> If you combine the well-known debugging URI with a Max-Forwards header,
>> then you may get pretty close to the desired "and here is my state too"
>> effect. It is not going to be "the state of each agent at the same
>> moment of time", but nothing is going to give you that precision anyway.

> This was discussed, but was discarded in part because many proxies do not respect that header. 

I do not understand that reasoning: Surely those proxies that add
support for the new feature (debugging URI) can be required to support
Max-Forwards, at least in the context of that feature. Is it really
better to add Max-Forwards-2 or require response body adaptations?


> Additionally, it’s only defined on OPTIONS requests.

It is not prohibited for any other method. TRACE and OPTIONS are the two
methods where the protocol requires certain actions, but that does not
mean new features (like a debugging URI) cannot use it.

Alex.