Design: Rename FRAME_TOO_LARGE to FRAME_SIZE_ERROR

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