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

QPACK SC: No encoder memory for blocked #4008

Merged
merged 3 commits into from Aug 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions draft-ietf-quic-qpack.md
Expand Up @@ -1362,9 +1362,14 @@ allows (see {{eviction}}).
A decoder can limit the amount of state memory used for blocked streams by
setting an appropriate value for the maximum number of blocked streams. In
HTTP/3, this is realized by setting an appropriate value for the
QPACK_BLOCKED_STREAMS parameter. An encoder can limit the amount of state
memory by only using as many blocked streams as it wishes to support; no
signaling to the decoder is required.
QPACK_BLOCKED_STREAMS parameter. Streams which risk becoming blocked consume no
additional state memory on the encoder.

An encoder allocates memory to track all dynamic table references in
unacknowledged field sections. An implementation can directly limit the amount
of state memory by only using as many references to the dynamic table as it
Copy link
Contributor

Choose a reason for hiding this comment

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

Subject/pronoun agreement: "Implementations can...as it wishes". Perhaps "An implementation can..."

wishes to track; no signaling to the decoder is required. However, limiting
references to the dynamic table will reduce compression effectiveness.

The amount of temporary memory consumed by an encoder or decoder can be limited
by processing header fields sequentially. A decoder implementation does not need
Expand Down