[quicwg/base-drafts] Define three QPACK error types, refine error handling. (#1726)

Bence Béky <notifications@github.com> Thu, 06 September 2018 17:55 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 46042130E98 for <quic-issues@ietfa.amsl.com>; Thu, 6 Sep 2018 10:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.03
X-Spam-Level:
X-Spam-Status: No, score=-7.03 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, 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 hy-qsdINa6ly for <quic-issues@ietfa.amsl.com>; Thu, 6 Sep 2018 10:55:57 -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 7DDCE130E2F for <quic-issues@ietf.org>; Thu, 6 Sep 2018 10:55:57 -0700 (PDT)
Date: Thu, 06 Sep 2018 10:55:56 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1536256556; bh=AmMRBgGQh5JIpMZO74nNN7UGtaLZAIXSNCbvLGq/NHE=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=znAfNXjuGcDAfBq3eUHTlP3d9+wYxg0Y3WaLTFLczLiIRpye782RNCb2SJxezTkhH rUUnuBMXQWE6U2cG3jQqOztp/JQWcQoP+Uvnt4Ficx+CKj4KtfMgHrJSlR9LN4cjxg D/qPhQFLX3Xv0GjKe2t5Q6Ucze2Izw/PjyRpPGJE=
From: Bence Béky <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abe2b6ed3d088f30ba0dd22ab65c8157452f1a6d3492cf0000000117a92c2c92a169ce1553053a@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1726@github.com>
Subject: [quicwg/base-drafts] Define three QPACK error types, refine error handling. (#1726)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b916a2c46b6c_45d53f9302ed45c030225"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: bencebeky
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/tQe7zrohHfVC0_w_W88L9nskDQA>
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: Thu, 06 Sep 2018 17:55:59 -0000

Fixes #1683.

Split QPACK errors into three types: decompression failure, encoder
stream error, decoder stream error.  Note that with HPACK only the
decoder could signal an error, so any error indicates a problem between
the decoder of the sender of the error and the encoder of the receiver.
However, in QPACK either the encoder or the receiver can detect an
error, so these types will help pinpoint the context of the error.

Also, specify error signalling behavior upon receiving invalid indices
and invalid decoder stream instructions.
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/1726

-- Commit Summary --

  * Define three QPACK error types, refine error handling.

-- File Changes --

    M draft-ietf-quic-qpack.md (89)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/1726.patch
https://github.com/quicwg/base-drafts/pull/1726.diff

-- 
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/1726