@@ -1622,7 +1622,7 @@ The RST_STREAM frame is as follows:
1622
1622
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1623
1623
| Stream ID (32) |
1624
1624
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1625
- | Application Protocol Error Code (32) |
1625
+ | App Protocol Error Code (16) |
1626
1626
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1627
1627
| |
1628
1628
+ Final Offset (64) +
@@ -1930,7 +1930,7 @@ follows:
1930
1930
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1931
1931
| Stream ID (32) |
1932
1932
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1933
- | Error Code (32) |
1933
+ | App Error Code (32) |
1934
1934
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1935
1935
~~~
1936
1936
@@ -1939,8 +1939,9 @@ The fields are:
1939
1939
Stream ID :
1940
1940
: The 32-bit Stream ID of the stream being ignored.
1941
1941
1942
- Error Code :
1943
- : The application-specified reason the sender is ignoring the stream.
1942
+ App Error Code :
1943
+ : A 32-bit, application-specified reason the sender is ignoring the stream (see
1944
+ {{app-error-codes}}).
1944
1945
1945
1946
# # ACK Frame {#frame-ack}
1946
1947
@@ -3056,6 +3057,8 @@ FRAME_ERROR (0x1XX):
3056
3057
included as the last octet of the error code. For example, an error in a
3057
3058
MAX_STREAM_ID frame would be indicated with the code (0x106).
3058
3059
3060
+ See {{iana-error-codes}} for details of registering new error codes.
3061
+
3059
3062
3060
3063
## Application Protocol Error Codes {#app-error-codes}
3061
3064
@@ -3064,9 +3067,10 @@ application error codes are left to application protocols. Application protocol
3064
3067
error codes are used for the RST_STREAM ({{frame-rst-stream}}) and
3065
3068
APPLICATION_CLOSE ({{frame-application-close}}) frames.
3066
3069
3067
- Application protocols SHOULD define an error codes for use when sending a
3068
- RST_STREAM in response to a STOP_SENDING frame. Otherwise, there is no
3069
- restriction on the use of the 32-bit error code space for application protocols.
3070
+ Application protocols SHOULD define an error codes for indicating no error and
3071
+ for use when sending a RST_STREAM in response to a STOP_SENDING frame.
3072
+ Otherwise, there is no restriction on the use of the 16-bit error code space for
3073
+ application protocols.
3070
3074
3071
3075
3072
3076
# Security and Privacy Considerations
0 commit comments