Re: [quicwg/base-drafts] Pull some H2 content into the introduction (#2683)
MikkelFJ <notifications@github.com> Fri, 10 May 2019 05:41 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C71C120169 for <quic-issues@ietfa.amsl.com>; Thu, 9 May 2019 22:41:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.011
X-Spam-Level:
X-Spam-Status: No, score=-8.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 Sz4cSCSmlmfP for <quic-issues@ietfa.amsl.com>; Thu, 9 May 2019 22:40:58 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D669312015D for <quic-issues@ietf.org>; Thu, 9 May 2019 22:40:57 -0700 (PDT)
Date: Thu, 09 May 2019 22:40:56 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1557466856; bh=rIeQCEUZUxgFXQ3wlH5A0fpz3c1DqAdLUL/8Ho2iAVk=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=A25DGxUaSRbl5YyRVBKS/Q2MKNAjgguqKViedTmHlh8rzSEvg1UGvcNEzqwlvNV2i dkbkTt0EbEahbwCxsWxIGnON1D1GJMuJv0PQjnzhNaQMaRQOqBUgFmtlieTE3PN1lF 9zVkAHIQlz/KiO5JcQWQDGiR31KvXvQ13YlpaeMo=
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK6CE3C5LCWEVTE5YQ524JAWREVBNHHBUX2AKM@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2683/review/235928570@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2683@github.com>
References: <quicwg/base-drafts/pull/2683@github.com>
Subject: Re: [quicwg/base-drafts] Pull some H2 content into the introduction (#2683)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5cd50ee87b648_3cb03faaafecd968263489"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/c-r8c8tNLRCwO2MjpMlHAwu9c_c>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2019 05:41:01 -0000
mikkelfj commented on this pull request. > @@ -88,28 +88,100 @@ code and issues list for this draft can be found at HTTP semantics are used for a broad range of services on the Internet. These semantics have commonly been used with two different TCP mappings, HTTP/1.1 and -HTTP/2. HTTP/2 introduced a framing and multiplexing layer to improve latency -without modifying the transport layer. However, TCP's lack of visibility into -parallel requests in both mappings limited the possible performance gains. +HTTP/2. HTTP/3 supports the same semantics over a new transport protocol, QUIC. + +## Prior versions of HTTP + +HTTP/1.1 was a TCP mapping which used whitespace-delimited text fields to convey Past tense may not be appropriate as it is still in active use in a few places. > @@ -88,28 +88,100 @@ code and issues list for this draft can be found at HTTP semantics are used for a broad range of services on the Internet. These semantics have commonly been used with two different TCP mappings, HTTP/1.1 and -HTTP/2. HTTP/2 introduced a framing and multiplexing layer to improve latency -without modifying the transport layer. However, TCP's lack of visibility into -parallel requests in both mappings limited the possible performance gains. +HTTP/2. HTTP/3 supports the same semantics over a new transport protocol, QUIC. + +## Prior versions of HTTP + +HTTP/1.1 was a TCP mapping which used whitespace-delimited text fields to convey +HTTP messages. While these exchanges were human-readable, the whitespace led to +parsing difficulties and workarounds to be tolerant of variant behavior. +Because each connection could be used only for a single HTTP request and +response at a time, multiple parallel TCP connections were used, reducing the That is not true. Pipelining is a thing. > QUIC is described in {{QUIC-TRANSPORT}}. For a full description of HTTP/2, see -{{!RFC7540}}. - - -## Notational Conventions +{{!HTTP2=RFC7540}}. + +# HTTP/3 Protocol Overview + +HTTP/3 provides a transport for HTTP semantics using the QUIC transport protocol +and an internal framing layer similar to HTTP/2. + +An HTTP/3 endpoint is discovered using HTTP Alternative Services. Once a client Can be > + +An HTTP/3 endpoint is discovered using HTTP Alternative Services. Once a client +knows that an HTTP/3 server exists at a certain endpoint, it opens a QUIC +connection. QUIC provides protocol negotiation, stream-based multiplexing, and +flow control. + +Within each stream, the basic unit of HTTP/3 communication is a frame +({{frames}}). Each frame type serves a different purpose. For example, HEADERS +and DATA frames form the frames form the basis of HTTP requests and responses +({{request-response}}). Other frame types like SETTINGS, PRIORITY, and GOAWAY +are used to managed the overall connection. + +Multiplexing of requests is performed using the QUIC stream abstraction, with +each request and response consuming a single QUIC stream. Streams are largely +independent of each other, so one stream that is blocked or suffers packet loss +does not prevent progress on other streams. But progress of other streams can when flow credits are exhausted. > + endpoint is discovered and a connection is established. +- Stream Mapping and Usage ({{stream-mapping}}) describes the way QUIC streams + are used. +- HTTP Framing Layer ({{http-framing-layer}}) describes the frames used on + most streams. +- HTTP Request Lifecycle ({{http-request-lifecycle}}) describes how HTTP + semantics are expressed using frames. +- Connection Closure ({{connection-closure}}) describes how connections are + terminated, either gracefully or abruptly. +- Extensions to HTTP/3 ({{extensions}}) describes how new capabilities can be + added in future documents. +- Error Handling ({{errors}}) describes how error conditions are handled and + expressed, either on a particular stream or for the connection as a whole. + +Readers familiar with HTTP/2 will find a more detailed comparison with that +protocol in {{h2-considerations}}. With that protocol? HTTP/1.1? > + and receive HTTP responses. + +connection: +: A transport-layer connection between two endpoints, using QUIC as the + transport protocol. + +connection error: +: An error that affects the entire HTTP/3 connection. + +endpoint: +: Either the client or server of the connection. + +frame: +: The smallest unit of communication within an HTTP/3 connection, consisting of + a header and a variable-length sequence of octets structured according to the + frame type. It may be worth noting that frames can span mutiple packets unlike QUIC frames. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/pull/2683#pullrequestreview-235928570
- [quicwg/base-drafts] Pull some H2 content into th… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… MikkelFJ
- Re: [quicwg/base-drafts] Pull some H2 content int… ianswett
- Re: [quicwg/base-drafts] Pull some H2 content int… Lucas Pardue
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… MikkelFJ
- Re: [quicwg/base-drafts] Pull some H2 content int… Jana Iyengar
- Re: [quicwg/base-drafts] Pull some H2 content int… MikkelFJ
- Re: [quicwg/base-drafts] Pull some H2 content int… MikkelFJ
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Martin Thomson
- Re: [quicwg/base-drafts] Pull some H2 content int… MikkelFJ
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop
- Re: [quicwg/base-drafts] Pull some H2 content int… Mike Bishop