[quicwg/base-drafts] 2d9845: Make HTTP frames a TLV format (#2235)

ekr <noreply@github.com> Wed, 06 February 2019 00:20 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 B1AE8128D0C for <quic-issues@ietfa.amsl.com>; Tue, 5 Feb 2019 16:20:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.553
X-Spam-Level:
X-Spam-Status: No, score=-11.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 k6qWjgrnHI5f for <quic-issues@ietfa.amsl.com>; Tue, 5 Feb 2019 16:20:19 -0800 (PST)
Received: from out-2.smtp.github.com (out-2.smtp.github.com [192.30.252.193]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 497BF128BCC for <quic-issues@ietf.org>; Tue, 5 Feb 2019 16:20:19 -0800 (PST)
Date: Tue, 05 Feb 2019 16:20:18 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1549412418; bh=8Dtt5dimXST65xjWDOk8IsXiQKRI79LYJpETG8m4AY8=; h=Date:From:To:Subject:From; b=aIvPehgQIWD/KLWgbDIQPlnHno2s84u8L0ilMnGNJrZJZXgPBZqh3VrBySjR1Ib7d jkpMp0MxPxrsWbD+XKPenNVFCu5uzQyvHCaLRMnnvvc5wEN9XNZJQmKfYJigXeppM4 q6ppFTKt2BDFkLsdF0EzsjikHsTlIvntsJVJo8v8=
From: ekr <noreply@github.com>
To: quic-issues@ietf.org
Message-ID: <quicwg/base-drafts/push/refs/heads/master/8280be-2d9845@github.com>
Subject: [quicwg/base-drafts] 2d9845: Make HTTP frames a TLV format (#2235)
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-Auto-Response-Suppress: All
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/PSF-Gq_LE_MgUa7xNXRWl8vAYU8>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
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: Wed, 06 Feb 2019 00:20:21 -0000

  Branch: refs/heads/master
  Home:   https://github.com/quicwg/base-drafts
  Commit: 2d98453d0abf526bc812c3f83b8149d3ed57cb73
      https://github.com/quicwg/base-drafts/commit/2d98453d0abf526bc812c3f83b8149d3ed57cb73
  Author: ekr <ekr@rtfm.com>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M draft-ietf-quic-http.md

  Log Message:
  -----------
  Make HTTP frames a TLV format (#2235)

* Make HTTP frames a TLV format. This has several advantages:

I know this is a late change, but I think it's an improvement....

- You can switch on the frame type before you even read a
  variable-length value
- You can have special-case (negotiated) frame types with no lengths

If this has already been discussed and rejected somewhere, maybe
I missed it.

* ...