Re: [quicwg/base-drafts] Transport error codes would be smaller and more consistent as a varint (#2672)

Martin Thomson <> Tue, 07 May 2019 23:50 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id A46A7120073 for <>; Tue, 7 May 2019 16:50:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.918
X-Spam-Status: No, score=-1.918 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id yjkk0Z7f5gud for <>; Tue, 7 May 2019 16:50:04 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 7C7881200CD for <>; Tue, 7 May 2019 16:50:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=DUb3JEYO/Y0EWfrmcNlAbF1Werc=; b=uhk/NRnC8IRk9tJb 98/bO3iW2XciGtA2hxgv+iuQr6VAZV3f1xJAq+F0ZMVj5uLpPXItI4r5SemRX48Y PYMfYS5I4WQ+X9qNZbvTwUYGjpTJcsM9wRqrL55dIrQvFPBeTxRMgvC71s9il3AH VACmEhyuRHtheDcpHjIY5d9dU9k=
Received: by with SMTP id filter0312p1iad2-3101-5CD219A8-1E 2019-05-07 23:50:00.881294567 +0000 UTC m=+5962.282626543
Received: from (unknown []) by (SG) with ESMTP id Ge9WyyQ8Rkyp2Uo9DDfHUQ for <>; Tue, 07 May 2019 23:50:00.821 +0000 (UTC)
Received: from (localhost []) by (Postfix) with ESMTP id BB98B1607C0 for <>; Tue, 7 May 2019 16:50:00 -0700 (PDT)
Date: Tue, 07 May 2019 23:50:01 +0000
From: Martin Thomson <>
Reply-To: quicwg/base-drafts <>
To: quicwg/base-drafts <>
Cc: Subscribed <>
Message-ID: <quicwg/base-drafts/issues/2672/>
In-Reply-To: <quicwg/base-drafts/issues/>
References: <quicwg/base-drafts/issues/>
Subject: Re: [quicwg/base-drafts] Transport error codes would be smaller and more consistent as a varint (#2672)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5cd219a8b8af4_a333faaa9ecd96416612a"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3cnZBCZGpWhQPD/sZcghZfIMDoL0ot9H3q/h TF3Klf4s/RTLkyNySHiosgS0aU257vqE0+BLQKjjuGwufRAEUeQhEAt/SbCjDFNvtLS1QOyt/pd/Ea f3UYVLfuu3MTaI1IjoUi6fS8sF8qY1VMx5Dt1ALGs5kqxkOfYvF/KbFrqDSyIqcLOFCwddvwlfwZyG g=
Archived-At: <>
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 07 May 2019 23:50:07 -0000

I'm of the opinion that varint is OK.  We can crib text from other varint usages about IANA registries and such, so the change is cheap for the spec perspective.

The HTTP_MALFORMED_FRAME thing would need a solution.  I've never been a big fan of the concept, but anything would do (apart from the 2^60 thing, which would take 1/4 of the entire space for bad frames, which is excessive; I hope that's just an error).

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: