@@ -400,21 +400,23 @@ Section 5}}).
400400The application MAY use any error message and SHOULD use a relevant
401401code, as defined below :
402402
403- |------|-----------------------|
404- | Code | Reason |
405- |-----:|:----------------------|
406- | 0x0 | No Error |
407- |------|-----------------------|
408- | 0x1 | Generic Error |
409- |------|-----------------------|
410- | 0x2 | Unauthorized |
411- |------|-----------------------|
412- | 0x3 | Protocol Violation |
413- |------|-----------------------|
414- | 0x4 | Duplicate Track Alias |
415- |------|-----------------------|
416- | 0x10 | GOAWAY Timeout |
417- |------|-----------------------|
403+ |------|---------------------------|
404+ | Code | Reason |
405+ |-----:|:--------------------------|
406+ | 0x0 | No Error |
407+ |------|---------------------------|
408+ | 0x1 | Generic Error |
409+ |------|---------------------------|
410+ | 0x2 | Unauthorized |
411+ |------|---------------------------|
412+ | 0x3 | Protocol Violation |
413+ |------|---------------------------|
414+ | 0x4 | Duplicate Track Alias |
415+ |------|---------------------------|
416+ | 0x5 | Parameter Length Mismatch |
417+ |------|---------------------------|
418+ | 0x10 | GOAWAY Timeout |
419+ |------|---------------------------|
418420
419421* No Error: The session is being terminated without an error.
420422
@@ -735,9 +737,9 @@ The Parameter Length field of the String Parameter encodes the length
735737of the Parameter Value field in bytes.
736738
737739Each parameter description will indicate the data type in the Parameter Value
738- field. If the parameter value is a varint, but the self-encoded length of that
739- varint does not match the Parameter Length field, the receiver MUST ignore the
740- parameter using the value in the Parameter Length field .
740+ field. If a receiver understands a parameter type, and the parameter length
741+ implied by that type does not match the Parameter Length field, the receiver MUST
742+ terminate the session with error code ' Parameter Length Mismatch' .
741743
742744# ## Version Specific Parameters {#version-specific-params}
743745
0 commit comments