From cb2841badefe470760d1b3d52263a56ab9734f7b Mon Sep 17 00:00:00 2001 From: Alan Frindell Date: Mon, 13 Apr 2020 15:08:43 -0700 Subject: [PATCH 1/2] [qpack] Add comment explaining static table Fixes #3562 --- draft-ietf-quic-qpack.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/draft-ietf-quic-qpack.md b/draft-ietf-quic-qpack.md index 1beb7eaa40..b3e56f63ca 100644 --- a/draft-ietf-quic-qpack.md +++ b/draft-ietf-quic-qpack.md @@ -1199,6 +1199,12 @@ are registered in the "HTTP/3 Error Code" registry established in {{HTTP3}}. # Static Table +This table was generated by analyzing actual internet traffic in 2018 and +manually crafting the table for optimal compression of common headers. Due to +this methodology, some of the entries may be inconsistent. Notably, +"content-type: text/plain; charset=utf-8" appears twice with two different +whitespace encodings (entries 52 and 54). + | Index | Name | Value | | ----- | -------------------------------- | ----------------------------------------------------------- | | 0 | :authority | | From 9ae56f45f7ad4ff677465f7d22537994089f2187 Mon Sep 17 00:00:00 2001 From: Alan Frindell Date: Tue, 14 Apr 2020 15:58:48 -0700 Subject: [PATCH 2/2] Feedback from Martin and Lucas --- draft-ietf-quic-qpack.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/draft-ietf-quic-qpack.md b/draft-ietf-quic-qpack.md index b3e56f63ca..569a7ef52c 100644 --- a/draft-ietf-quic-qpack.md +++ b/draft-ietf-quic-qpack.md @@ -1200,10 +1200,11 @@ are registered in the "HTTP/3 Error Code" registry established in {{HTTP3}}. # Static Table This table was generated by analyzing actual internet traffic in 2018 and -manually crafting the table for optimal compression of common headers. Due to -this methodology, some of the entries may be inconsistent. Notably, -"content-type: text/plain; charset=utf-8" appears twice with two different -whitespace encodings (entries 52 and 54). +including the most common headers, after filtering out some unsupported and +non-standard values. Due to this methodology, some of the entries may be +inconsistent or appear multiple times with similar but not identical values. +The order of the entries is optimized to encode the most common headers with the +smallest number of bytes. | Index | Name | Value | | ----- | -------------------------------- | ----------------------------------------------------------- |