Re: Adam Roach's Yes on draft-ietf-httpbis-replay-03: (with COMMENT)

Adam Roach <adam@nostrum.com> Thu, 07 June 2018 13:20 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 99AC8130EEC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Jun 2018 06:20:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.651
X-Spam-Level:
X-Spam-Status: No, score=-7.651 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 iaPELAB5kf79 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Jun 2018 06:20:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5D93130E06 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 Jun 2018 06:20:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1fQukn-0001jz-Nw for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2018 13:15:01 +0000
Resent-Date: Thu, 07 Jun 2018 13:15:01 +0000
Resent-Message-Id: <E1fQukn-0001jz-Nw@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <adam@nostrum.com>) id 1fQukZ-0001j6-Rf for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2018 13:14:47 +0000
Received: from raven.nostrum.com ([69.55.229.100] helo=nostrum.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <adam@nostrum.com>) id 1fQukW-0003iP-HZ for ietf-http-wg@w3.org; Thu, 07 Jun 2018 13:14:46 +0000
Received: from [172.18.0.15] (99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id w57DCxOC094296 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 7 Jun 2018 08:13:00 -0500 (CDT) (envelope-from adam@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host 99-152-146-228.lightspeed.dllstx.sbcglobal.net [99.152.146.228] claimed to be [172.18.0.15]
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Adam Roach <adam@nostrum.com>
X-Mailer: iPhone Mail (15E302)
In-Reply-To: <CABkgnnUkBpJeug0R2fsHJtw6XTqztp-ymJ97dcdB3EAhG=gF0w@mail.gmail.com>
Date: Thu, 07 Jun 2018 08:12:54 -0500
Cc: The IESG <iesg@ietf.org>, draft-ietf-httpbis-replay@ietf.org, Patrick McManus <mcmanus@ducksong.com>, httpbis-chairs@ietf.org, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8D293655-A25B-42F8-B402-9ABFDFFF15EA@nostrum.com>
References: <152826435826.19241.12786566199717196532.idtracker@ietfa.amsl.com> <CABkgnnUkBpJeug0R2fsHJtw6XTqztp-ymJ97dcdB3EAhG=gF0w@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-0.783, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1fQukW-0003iP-HZ 1a48fd4089a6ba797f47d0a93a6f075d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Adam Roach's Yes on draft-ietf-httpbis-replay-03: (with COMMENT)
Archived-At: <https://www.w3.org/mid/8D293655-A25B-42F8-B402-9ABFDFFF15EA@nostrum.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35508
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

After your explanations, this makes perfect sense, and upon re-reading the original text, I’m not sure why I misread it. Sorry for the noise.

/a

> On Jun 7, 2018, at 02:35, Martin Thomson <martin.thomson@gmail.com> wrote:
> 
> Thanks Adam,
> 
> PR here: https://github.com/httpwg/http-extensions/pull/646
> 
> I think that this is just a misunderstanding, but I'm happy to explore
> ways to make this clearer.
> 
>> §5.2:
>> 
>>> In all cases, an intermediary can forward a 425 (Too Early) status
>>> code.  Intermediaries MUST forward a 425 (Too Early) status code if
>>> the request that it received and forwarded contained an "Early-Data"
>>> header field.  Otherwise, an intermediary that receives a request in
>>> early data MAY automatically retry that request in response to a 425
>>> (Too Early) status code, but it MUST wait for the TLS handshake to
>>> complete on the connection where it received the request.
>> 
>> This seems correct but incomplete.
>> 
>> I believe that we also want to (MUST-level) require the forwarding of the 425
>> in the case in which an intermediary receives a request from a client in early
>> data (i.e., no "Early-Data" header field), forwards it towards the origin
>> (with an "Early-Data" header field), and then receives a 425 response. I
>> suspect the intention here was to cover that case in the "MUST" above, but
>> it's not what the text actually says.
> 
> It's the opposite, as Willy says.  Let me restate Willy's response
> more concisely.:
> 
> 425 can be forwarded always.
> 425 is always forwarded if the inbound request contains Early-Data.
> 425 doesn't need to be forwarded if the request didn't contain
> Early-Data; the intermediary can instead absorb the 425 and retry the
> request after the inbound connection handshake completes.
> 
> That's complete as near as I can tell.