RE: draft-ietf-httpbis-header-compression-latest, "2.3.2 Dynamic Table"

Mike Bishop <Michael.Bishop@microsoft.com> Wed, 14 June 2017 18:01 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78FD1127866 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Jun 2017 11:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.032
X-Spam-Level:
X-Spam-Status: No, score=-5.032 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 8yfvqvNcJPCp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Jun 2017 11:01:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3093B1272E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 14 Jun 2017 11:01:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.84_2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1dLCZ7-0002yg-KE for ietf-http-wg-dist@listhub.w3.org; Wed, 14 Jun 2017 17:58:49 +0000
Resent-Date: Wed, 14 Jun 2017 17:58:49 +0000
Resent-Message-Id: <E1dLCZ7-0002yg-KE@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1dLCYx-0002xs-5M for ietf-http-wg@listhub.w3.org; Wed, 14 Jun 2017 17:58:39 +0000
Received: from mail-cys01nam02on0118.outbound.protection.outlook.com ([104.47.37.118] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from <Michael.Bishop@microsoft.com>) id 1dLCYq-0006zP-6b for ietf-http-wg@w3.org; Wed, 14 Jun 2017 17:58:33 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ETWMZ+44mHX8h/3uPpBphGf0F+m425iI+HQolbzIl0c=; b=G+ioLFUQ3Y/U6XJ0+6wYC+4w3cJXS8ZqYB1lnYgu81T2MIhp7iRyay/SUcgNWtytm8zz8/bOPvuRXavnJ/CoiciN/CXARtzFp6oEQYTIDDv8j9+2BJw63JN3QJpjRG0sh/wFxu/ZlK5LLfNUFviMEwSUpJCKyWe9QLCLtRPCuz4=
Received: from MWHPR03MB2944.namprd03.prod.outlook.com (10.175.136.137) by MWHPR03MB2944.namprd03.prod.outlook.com (10.175.136.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Wed, 14 Jun 2017 17:58:04 +0000
Received: from MWHPR03MB2944.namprd03.prod.outlook.com ([10.175.136.137]) by MWHPR03MB2944.namprd03.prod.outlook.com ([10.175.136.137]) with mapi id 15.01.1157.017; Wed, 14 Jun 2017 17:58:04 +0000
From: Mike Bishop <Michael.Bishop@microsoft.com>
To: "okis_chuang@trend.com.tw" <okis_chuang@trend.com.tw>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: draft-ietf-httpbis-header-compression-latest, "2.3.2 Dynamic Table"
Thread-Index: AQHS5OGaEdZXhT4Yzkm8m8YkaG/BM6IkpPwA
Date: Wed, 14 Jun 2017 17:58:04 +0000
Message-ID: <MWHPR03MB29440DC12D7A72E910FD157F87C30@MWHPR03MB2944.namprd03.prod.outlook.com>
References: <DB53C180-F8FA-48A1-9C89-29857DEB90B7@trend.com.tw>
In-Reply-To: <DB53C180-F8FA-48A1-9C89-29857DEB90B7@trend.com.tw>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: trend.com.tw; dkim=none (message not signed) header.d=none; trend.com.tw; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:4898:80e8:a::de]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR03MB2944; 7:IOpXpIC9sFnkmCqczUNYEVgV8mO2aFQuNnKBQMcSt89TfdEWYCAK8PvReeF3Zq/v6Kx5J5JdwYcgRBYvxtzNrct4OYfze4Iil07/I01MX/xqCLKFBado9fS8SEhSmLGBDmyZOhARG7Mx7UJEGtxtQjm7zPg5Ms/M7/nepBUhJHIoq8l8x3sG84/RNbFLem2ibOc9uxLpcgbxuKOk2TyBflUKBjtrkykcEcWyUlzES42WGll6ndaDmqnuDZOtDttWp/KYRO7uFUd3I2olAumF/+JLU+bJ+/qRTKqu+4yiPqEPOfdJgIHaKYytrZ6RQ0+G0SLzRnDUpj0zLenibvJuTfpbMAgvdzCyyWyVnlJV0mE=
x-ms-traffictypediagnostic: MWHPR03MB2944:
x-ms-office365-filtering-correlation-id: 42a8835a-4ef8-410c-af0d-08d4b34ee7e6
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081)(201702281549075); SRVR:MWHPR03MB2944;
x-microsoft-antispam-prvs: <MWHPR03MB29441D4DE4B8751EB36E292F87C30@MWHPR03MB2944.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(189930954265078)(219752817060721)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB2944; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB2944;
x-forefront-prvs: 033857D0BD
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(39450400003)(377454003)(77096006)(86612001)(76176999)(606005)(8990500004)(74316002)(54356999)(50986999)(6246003)(236005)(55016002)(7736002)(54896002)(6306002)(9686003)(10090500001)(86362001)(5005710100001)(6436002)(99286003)(53936002)(7906003)(25786009)(6506006)(53546009)(8676002)(81166006)(5660300001)(3280700002)(3660700001)(229853002)(2906002)(7696004)(33656002)(8936002)(2950100002)(478600001)(72206003)(19609705001)(10290500003)(122556002)(6116002)(102836003)(790700001)(2900100001)(5890100001)(230783001)(189998001)(38730400002)(14454004)(2501003); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR03MB2944; H:MWHPR03MB2944.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR03MB29440DC12D7A72E910FD157F87C30MWHPR03MB2944namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2017 17:58:04.2589 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2944
Received-SPF: pass client-ip=104.47.37.118; envelope-from=Michael.Bishop@microsoft.com; helo=NAM02-CY1-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-3.362, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1dLCYq-0006zP-6b 227604c780bd2b2b9e0239e62f6d4c4c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: draft-ietf-httpbis-header-compression-latest, "2.3.2 Dynamic Table"
Archived-At: <http://www.w3.org/mid/MWHPR03MB29440DC12D7A72E910FD157F87C30@MWHPR03MB2944.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33983
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

The decoder sets a maximum size.  The encoder can select the size it wishes to actually use, so long as it’s not greater than the decoder’s limit.  That’s why there’s a limit in both directions – the decoder declares its maximum in HTTP/2 SETTINGS, while the encoder declares the size it’s actually using in an HPACK instruction.

From: okis_chuang@trend.com.tw [mailto:okis_chuang@trend.com.tw]
Sent: Tuesday, June 13, 2017 7:56 PM
To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-header-compression-latest, "2.3.2 Dynamic Table"

<https://http2.github.io/http2-spec/compression.html#rfc.section.2.3.2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhttp2.github.io%2Fhttp2-spec%2Fcompression.html%23rfc.section.2.3.2&data=02%7C01%7CMichael.Bishop%40microsoft.com%7C24a659790e50463dfec208d4b2f8baf3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636330228734303857&sdata=q0c%2B501pZdpspgVF26ZPQYyOJqYpZt9Rq1LVgyMu260%3D&reserved=0>>:

Hi,

Good day!

I have a question about the section "The encoder decides how to update the dynamic table and as such can control how much memory is used by the dynamic table. To limit the memory requirements of the decoder, the dynamic table size is strictly bounded (see Section 4.2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhttp2.github.io%2Fhttp2-spec%2Fcompression.html%23maximum.table.size&data=02%7C01%7CMichael.Bishop%40microsoft.com%7C24a659790e50463dfec208d4b2f8baf3%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636330228734303857&sdata=XDxJ2a4TBv%2BOZxv6ipbrFpLHnl3eAYqtx8pfGcu5PMA%3D&reserved=0>).”

the decision about how to update the dynamic table is from “encoder” or “decoder”? I thought it is decoder.

Please correct me if it is not :)

Best Regards,

Okis Chuang

TREND MICRO EMAIL NOTICE

The information contained in this email and any attachments is confidential

and may be subject to copyright or other intellectual property protection.

If you are not the intended recipient, you are not authorized to use or

disclose this information, and we request that you notify us by reply mail or

telephone and delete the original message from your mail system.