Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8270C200B21 for ; Fri, 10 Jun 2016 16:23:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 80F4C160A38; Fri, 10 Jun 2016 14:23:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3076160A15 for ; Fri, 10 Jun 2016 16:23:02 +0200 (CEST) Received: (qmail 17985 invoked by uid 500); 10 Jun 2016 14:23:01 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 17961 invoked by uid 99); 10 Jun 2016 14:23:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 14:23:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 46DBAC0DD6 for ; Fri, 10 Jun 2016 14:23:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fwpUzUhxONkS for ; Fri, 10 Jun 2016 14:22:58 +0000 (UTC) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 08CAB5FAC5 for ; Fri, 10 Jun 2016 14:22:58 +0000 (UTC) Received: by mail-it0-f44.google.com with SMTP id a5so65990335ita.1 for ; Fri, 10 Jun 2016 07:22:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=KEzxrUkx1OFEFrcapXbafwRxoTYkNQja5iBgu8gWp0Q=; b=mDUD38jfwo1HLpBlPjmSq0P9EEMbWSqX3MP7OESor47xlovu35FRpcRCtRbnmwtzee QnHH8YnsLGikZssEtxqEUs9ypA/gXTTJkVZaFVuzaiKF6inxRn5ypJoiWpo4onXL4/xD fRYhbAaf2w6qV1bzVDCCXB6fkKetg2TTIxWguIYCAMKpCoE7bJ3vHJqSIxzL273bX5FT wAdvqm6tyT7Yt4TqaFMJbuDUy/hSRCWbXy8PsuqdC+SoywzXXE44eNlHCc1GwKtvD9w6 XK/8bjfTGWXneET8k+Q0Hp+BMAcvCsPt0nQEXnOiQangXtYMelZtemw+Te253PrNCP3y BNTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=KEzxrUkx1OFEFrcapXbafwRxoTYkNQja5iBgu8gWp0Q=; b=UUNS1/yCtOEOElNrl5HweQPKMgAttrg7v8IB5vObfM/UpBOIeCKCQv7Rxyo7GGUmxi bILcva0A3G4/rgvMoFyKS0vJkIKu1KlrKwqD/RsxAXzfmb7kLRHM+5BY+q6DZXTKdjgO g28rhKRr3iQF+2kuyXeTDsiXH50AxTjyw2mkbaKqp5B6ws1rU9Azpz4t6KrBceWEIX2f 8UFXhOxTD6jaFwGCkWDy89HJ+/7H8C9xdb6h0LTYl6HhsML2TgsYWipv1gSU6Ne7HtOq mjx3l0qBWX4tpMnpgIFUxbK+dCW7xzIFF6O8Es+IVlRzXJWhIPowWFb6z9WnNo5/9Fay THOQ== X-Gm-Message-State: ALyK8tJcHyBHGqnqv/yDR7EXdC6mE79GJRI6iuYxRLLR79NbkYR0ooraM8L0GeHAnFPW4OPFqdycaef+qkEYCbAe X-Received: by 10.36.37.73 with SMTP id g70mr30255451itg.51.1465568576615; Fri, 10 Jun 2016 07:22:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.199 with HTTP; Fri, 10 Jun 2016 07:22:55 -0700 (PDT) In-Reply-To: References: <20160419144710.Horde.fEyz_FnLQe5b-8glHPB0ySG@webmail.michael-kaufmann.ch> <20160609225218.Horde.El_vB3E_HAGC8AX_DHoPc1R@webmail.michael-kaufmann.ch> From: William A Rowe Jr Date: Fri, 10 Jun 2016 09:22:55 -0500 Message-ID: Subject: Re: "Upgrade: h2" header for HTTP/1.1 via TLS (Bug 59311) To: httpd Content-Type: multipart/alternative; boundary=001a1145a8506766c70534ed468f archived-at: Fri, 10 Jun 2016 14:23:03 -0000 --001a1145a8506766c70534ed468f Content-Type: text/plain; charset=UTF-8 On Fri, Jun 10, 2016 at 4:03 AM, Stefan Eissing < stefan.eissing@greenbytes.de> wrote: > Withdrawn the proposal in r1747668 after reading the comment from Roy > again. > Let's look at what Roy said... that httpd's implementation of HTTP/1.1 may choose to honor a Connection-Upgrade request header of h2, or http/2, or any other values we choose, because we are bound by the HTTP/1.1 RFC, not some arbitrary choice by the HTTP/2 RFC. Wrong RFC to change HTTP/1.1 behavior, these headers are only to be used in conformance with https://tools.ietf.org/html/rfc7230#section-6.7 So the http/1.1 Upgrade response header must mirror what the server will honor for the Connection: Upgrade http/1.1 -> {something else} Upgrade request value. My initial response is still correct, *if* httpd is willing to honor Upgrade: h2 or Upgrade: http/2 request header values, then it is appropriate to offer these in the response headers. And as Roy says, we *can* do so irrespective of any claims within https://tools.ietf.org/html/rfc7540#section-3.2 because that is not the binding specification during the http/1.1 phase of the request. https://tools.ietf.org/html/rfc7540#page-78 registered the h2c token for the Upgrade token, HTTP (including HTTP/2) was already registered. However, no token 'h2' is registered. That doesn't prevent us or others from sending and respecting other values, SSL/ was long considered valid, but I don't see where 'h2' should be used in the context of the 'Upgrade' header. http://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xhtml For right now, 'h2' should not be presented if 'h2' will not be honored, IMHO. --001a1145a8506766c70534ed468f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On F= ri, Jun 10, 2016 at 4:03 AM, Stefan Eissing <stefan.eissing@g= reenbytes.de> wrote:
Withdrawn the propos= al in r1747668 after reading the comment from Roy again.

Let's look at what Roy said... that httpd's imple= mentation of HTTP/1.1 may choose
to honor a Connection-Upgrade re= quest header of h2, or http/2, or any other values
we choose, bec= ause we are bound by the HTTP/1.1 RFC, not some arbitrary choice
= by the HTTP/2 RFC. Wrong RFC to change HTTP/1.1 behavior, these headers are=
only to be used in conformance with https://tools.ietf.org/html/rfc7230#section= -6.7

So the http/1.1 Upgrade response header m= ust mirror what the server will honor
for the Connection: Upgrade= =C2=A0http/1.1 -> {something else} Upgrade=C2=A0request=C2=A0value.

My initial response is still correct, *if* httpd is w= illing to honor Upgrade: h2
or Upgrade: http/2 request header val= ues, then it is appropriate to offer these
in the response header= s. And as Roy says, we *can* do so irrespective of
any claims wit= hin=C2=A0https:= //tools.ietf.org/html/rfc7540#section-3.2 because that
is not= the binding specification during the http/1.1 phase of the request.
<= div>
= https://tools.ietf.org/html/rfc7540#page-78 registered the h2c token fo= r the
Upgrade token, HTTP (including HTTP/2) was already regi= stered. However,
no token 'h2' is registered. That doesn&= #39;t prevent us or others from sending=C2=A0
and respecting othe= r values, SSL/ was long considered valid, but I don't
see whe= re 'h2' should be used in the context of the 'Upgrade' head= er.

For right = now, 'h2' should not be presented if 'h2' will not be honor= ed, IMHO.
--001a1145a8506766c70534ed468f--