mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #242] [MERGED] Added note about invalid block type value in block switch commands #839
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/242
Author: @ende76
Created: 10/26/2015
Status: ✅ Merged
Merged: 10/27/2015
Merged by: @szabadka
Base:
master← Head:spec_suggest_block_switch📝 Commits (2)
e544a18Added note about invalid block type value1128653Removed previous change, fixed typo NBLTYPES -> NBLTYPESL #242📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
docs/draft-alakuijala-brotli-07.nroff(+1 -1)📝
docs/draft-alakuijala-brotli-07.txt(+1 -1)📄 Description
Added an explicit note to reject a stream as invalid, if a block type in a block switch command is not within its 0..NBLTYPEx-1 range.
I believe it is of value to mention rejection conditions explicitly in the spec, and with a consistent phrase ("the stream should be rejected as invalid"), to make it easy for implementers to find these conditions through a simple text search.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.