Skip to content

Parse buffered HTTP framing before EOF - #187

Open
kentbull wants to merge 1 commit into
ioflo:mainfrom
kentbull:fix/http-buffered-framing-eof
Open

Parse buffered HTTP framing before EOF#187
kentbull wants to merge 1 commit into
ioflo:mainfrom
kentbull:fix/http-buffered-framing-eof

Conversation

@kentbull

@kentbull kentbull commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Consume complete buffered request and response framing before applying EOF.
  • Reject partial buffered status lines, header blocks, and fixed-length response bodies at EOF.
  • Cover each framing boundary with real HIO parser and transport objects.

This adapts GLEIF-IT#22 to current upstream main.

Closes #186

Attempt to consume complete request and response framing already present in the parser buffer before treating EOF as premature closure.

Reject partial status lines, header blocks, and fixed-length response bodies at EOF so a parser cannot remain suspended after the connection has closed. Cover the framing boundaries with real Requestant, Respondent, and transport objects.
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.

Parse buffered HTTP framing before applying EOF

1 participant