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

Issue #2217 "Enhances line terminator for chunk-size in Chunked Transfer Coding #2218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carryel
Copy link

@carryel carryel commented Dec 16, 2024

  • When the org.glassfish.grizzly.http.STRICT_CHUNKED_TRANSFER_CODING_LINE_TERMINATOR_RFC_9112 option is enabled, only CRLF is allowed as the chunk-size line terminator in Chunked Transfer Coding.
  • Added testcase depending on whether option is present or not.

parsingState.checkpoint2(extra parsing state field) was not used in chunked transfer coding.
This was added to verify the CR before LF.
If it were not provided as an option, the code logic could be cleaner, but I provided it as an option within the range that does not affect stability and existing operation as much as possible.

…hunked Transfer Coding" (eclipse-ee4j#2217)

+ When the org.glassfish.grizzly.http.STRICT_CHUNKED_TRANSFER_CODING_LINE_TERMINATOR_RFC_9112 option is enabled, only CRLF is allowed as the chunk-size line terminator in Chunked Transfer Coding.
+ Added testcase depending on whether option is present or not
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.

1 participant