File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -474,11 +474,13 @@ consisting of an unsigned 16-bit setting identifier and a length-prefixed binary
474
474
value.
475
475
476
476
~~~~~~~~~~~~~~~
477
- +-------------------------------+-+-------------+---------------+
478
- | Identifier (16) |B| Length (15) |
479
- +-------------------------------+-+-------------+---------------+
480
- | Contents (?) ...
481
- +---------------------------------------------------------------+
477
+ 0 1 2 3
478
+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
479
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
480
+ | Identifier (16) |B| Length (15) |
481
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
482
+ | Contents (?) ...
483
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
482
484
~~~~~~~~~~~~~~~
483
485
{: # fig-ext-settings title="SETTINGS value format"}
484
486
@@ -503,7 +505,8 @@ PROTOCOL_ERROR.
503
505
504
506
Settings which are integers are transmitted in network byte order. Leading
505
507
zero octets are permitted, but implementations SHOULD use only as many bytes as
506
- are needed to represent the value.
508
+ are needed to represent the value. An integer MUST NOT be represented in more
509
+ bytes than would be used to transfer the maximum permitted value.
507
510
508
511
# ### Defined SETTINGS Parameters
509
512
You can’t perform that action at this time.
0 commit comments