W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2014

Why "MUST" encoder emit Context Update

From: Osama Mazahir <OSAMAM@microsoft.com>
Date: Wed, 30 Jul 2014 23:42:11 +0000
To: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <16c7a2854cae4b8687bc6a80ec6af821@SN2PR03MB046.namprd03.prod.outlook.com>

   After applying an updated value of the HTTP/2 setting
   SETTINGS_HEADER_TABLE_SIZE that changes the maximum size of the
   header table used by the encoder, the encoder MUST signal this change
   via an encoding context update (see Section 7.3).  This encoding
   context update MUST occur at the beginning of the first header block
   following the SETTINGS frame sent to acknowledge the application of
   the updated settings.

Why is it a 'MUST' for the encoder to emit a Context Update opcode?  The SETTINGS ACK (from encoder-side to decoder-side) communicates that the encoder has made the corresponding accounting change and implies the encoder will use the decoder's entire table space.  If the encoder does not want to stretch itself to the full extent of the decoder, only then is it a 'MUST' to emit a Context Update opcode in order to advertise what subset of the table space it will use.
Received on Wednesday, 30 July 2014 23:42:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 March 2016 09:57:09 UTC