Skip to content

Commit 1f00110

Browse files
committed
Make STOP_SENDING application-specific as well
1 parent bf6c5d9 commit 1f00110

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

draft-ietf-quic-transport.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ The RST_STREAM frame is as follows:
16221622
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16231623
| Stream ID (32) |
16241624
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1625-
| Application Protocol Error Code (32) |
1625+
| App Protocol Error Code (16) |
16261626
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16271627
| |
16281628
+ Final Offset (64) +
@@ -1930,7 +1930,7 @@ follows:
19301930
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
19311931
| Stream ID (32) |
19321932
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
1933-
| Error Code (32) |
1933+
| App Error Code (32) |
19341934
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
19351935
~~~
19361936

@@ -1939,8 +1939,9 @@ The fields are:
19391939
Stream ID:
19401940
: The 32-bit Stream ID of the stream being ignored.
19411941

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}}).
19441945

19451946
## ACK Frame {#frame-ack}
19461947

@@ -3056,6 +3057,8 @@ FRAME_ERROR (0x1XX):
30563057
included as the last octet of the error code. For example, an error in a
30573058
MAX_STREAM_ID frame would be indicated with the code (0x106).
30583059
3060+
See {{iana-error-codes}} for details of registering new error codes.
3061+
30593062
30603063
## Application Protocol Error Codes {#app-error-codes}
30613064
@@ -3064,9 +3067,10 @@ application error codes are left to application protocols. Application protocol
30643067
error codes are used for the RST_STREAM ({{frame-rst-stream}}) and
30653068
APPLICATION_CLOSE ({{frame-application-close}}) frames.
30663069
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.
30703074
30713075
30723076
# Security and Privacy Considerations

0 commit comments

Comments
 (0)