W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2013

Design: Rename FRAME_TOO_LARGE to FRAME_SIZE_ERROR

From: James M Snell <jasnell@gmail.com>
Date: Tue, 18 Jun 2013 23:00:28 -0700
Message-ID: <CABP7Rbe9GEkRvoU6yYpiNjrShc32PeoB64fNaTrP6M4Uco-xRw@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
https://github.com/http2/http2-spec/issues/140

Currently, we have the FRAME_TOO_LARGE error code...

However, it's possible that a frame can be under-sized. For instance,
a PING frame with less than 8-bytes of payload. We don't have a good
symmetrical approach to handling both over, and undersized frames. One
suggestion is to remove FRAME_TOO_LARGE entirely and just use
PROTOCOL_ERROR but that loses value, I think. Having specific error
codes is a good thing at times. Changing to FRAME_SIZE_ERROR allows us
to deal easily with over and undersized frames symmetrically.
Received on Wednesday, 19 June 2013 06:01:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:13 UTC