WebSocket - Payload Length

Viewed 1567

The WebSocket RFC states the following in the [Data Frame Section] (https://www.rfc-editor.org/rfc/rfc6455#section-5.2) when describing the Payload Length:

If 127, the following 8 bytes interpreted as a 64-bit unsigned integer (the most significant bit MUST be 0) are the payload length.

I have two questions:

  1. Is there a particular reason why the most significant bit must be 0?
  2. Does this makes the maximum size of a single frame 9223372036854775807 bytes?
1 Answers
Related