-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix grammar in 3.2. Receiving Stream States #2830
Fix grammar in 3.2. Receiving Stream States #2830
Conversation
draft-ietf-quic-transport.md
Outdated
@@ -526,7 +526,7 @@ an unopened stream indicates that the remote peer no longer wishes to receive | |||
data on this stream. Either frame might arrive before a STREAM or | |||
STREAM_DATA_BLOCKED frame if packets are lost or reordered. | |||
|
|||
Before creating a stream, all streams of the same type with lower-numbered | |||
Before a new stream is created, all streams of the same type with lower-numbered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we don't have to clearly say "new".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't think we need "new" in the sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a minor comment.
draft-ietf-quic-transport.md
Outdated
@@ -526,7 +526,7 @@ an unopened stream indicates that the remote peer no longer wishes to receive | |||
data on this stream. Either frame might arrive before a STREAM or | |||
STREAM_DATA_BLOCKED frame if packets are lost or reordered. | |||
|
|||
Before creating a stream, all streams of the same type with lower-numbered | |||
Before a new stream is created, all streams of the same type with lower-numbered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't think we need "new" in the sentence.
0ca7bee
to
ff1698f
Compare
The phrase, `Before creating a stream, all streams of the same type with lower-numbered stream IDs MUST be created.`, is semantically equal to `Before all streams (of the same type with lower-numbered stream IDs) create a stream, all streams of the same type with lower-numbered stream IDs MUST be created.` This is not correct since all streams don't create a (new) stream. Moreover, by definition, a stream is created by sending data[1] or STREAM frames implicitly create a stream[2]. This indicates a stream itself doesn't create another stream. [1] https://tools.ietf.org/html/draft-ietf-quic-transport-20#section-2 [2] https://tools.ietf.org/html/draft-ietf-quic-transport-20#section-19.8
The phrase,
Before creating a stream, all streams of the same type with lower-numbered stream IDs MUST be created.
, is semantically equal toBefore all streams (of the same type with lower-numbered stream IDs) create a stream, all streams of the same type with lower-numbered stream IDs MUST be created.
This is not correct since all streams don't create a (new) stream. Moreover, by definition, a stream is created by sending data[1] or STREAM frames implicitly create a stream[2]. This indicates a stream itself doesn't create another stream.
[1] https://tools.ietf.org/html/draft-ietf-quic-transport-20#section-2
[2] https://tools.ietf.org/html/draft-ietf-quic-transport-20#section-19.8