Skip to content
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

Add stream offset limit of 2^64. #350

Merged
merged 2 commits into from
Mar 3, 2017
Merged

Add stream offset limit of 2^64. #350

merged 2 commits into from
Mar 3, 2017

Conversation

janaiyengar
Copy link
Contributor

No description provided.

Copy link
Contributor

@ianswett ianswett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small suggestions.

@@ -1182,7 +1182,8 @@ The STREAM frame contains the following fields:

* Offset: A variable-sized unsigned number specifying the byte offset in the
stream for the data in this STREAM frame. The first byte in the stream has an
offset of 0.
offset of 0. The largest offset delivered on a stream---the sum of the
re-constructed offset and data length---MUST be lesser than 2^64.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lesser than -> less than, here and below?

as an ordered byte-stream. Data received out of order MUST be buffered for
later delivery, as long as it is not in violation of the receiver's flow control
The largest offset delivered on a stream MUST be lesser than 2^64. A receiver
MUST ensure that received stream data is delivered to the application as an
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: How about "MUST ensure that received stream data is available to the application as an ordered byte-stream."

@@ -1182,7 +1182,8 @@ The STREAM frame contains the following fields:

* Offset: A variable-sized unsigned number specifying the byte offset in the
stream for the data in this STREAM frame. The first byte in the stream has an
offset of 0.
offset of 0. The largest offset delivered on a stream---the sum of the
re-constructed offset and data length---MUST be lesser than 2^64.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't use ---

@martinthomson martinthomson merged commit 1047b02 into master Mar 3, 2017
@martinthomson martinthomson deleted the stream-limit branch March 3, 2017 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants