Skip to content

Chunk parsing fixes - #9

Merged
fafhrd91 merged 1 commit into
mainfrom
chunk-parse
Nov 15, 2026
Merged

fafhrd91 merged 1 commit into
mainfrom
chunk-parse

Conversation

@fafhrd91

Copy link
Copy Markdown
Member
  • parse_chunk_size rejects chunk extensions that do not match the RFC 9112 section 7.1.1 grammar, such as a bare ; or a non-token name

  • parse_chunk_size rejects whitespace before the CRLF of a chunk size line, such as 5 \r\n; whitespace is accepted only before ; and around = (RFC 9112 section 7.1)

* `parse_chunk_size` rejects chunk extensions that do not match the RFC 9112
  section 7.1.1 grammar, such as a bare `;` or a non-token name

* `parse_chunk_size` rejects whitespace before the CRLF of a chunk size line,
  such as `5 \r\n`; whitespace is accepted only before `;` and around `=`
  (RFC 9112 section 7.1)
@fafhrd91
fafhrd91 merged commit 6db7916 into main Nov 15, 2026
33 checks passed
@fafhrd91
fafhrd91 deleted the chunk-parse branch November 15, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant