Skip to content

Keep HTTP EOF monotonic within a parser generation - #23

Merged
kentbull merged 1 commit into
release/v0.6.20from
fix/http-monotonic-parser-eof-v0.6.20
Aug 29, 2026
Merged

kentbull merged 1 commit into
release/v0.6.20from
fix/http-monotonic-parser-eof-v0.6.20

Conversation

@kentbull

@kentbull kentbull commented Aug 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • preserve EOF observed before or after the active HTTP parser first advances
  • settle empty request EOF without admitting a WSGI request
  • settle empty response EOF as an errored response generation
  • cover the WSGI admission boundary with real TCP client/server and parser objects

Preserve an observed connection close when the active HTTP parser first advances, then settle empty request EOF without WSGI admission and empty response EOF as an error.

Exercise EOF both before and after parser startup and use a real TCP client, accepted Remoter, and WSGI Server to verify that a headless request never creates a response.
@kentbull
kentbull merged commit a7cb042 into release/v0.6.20 Aug 29, 2026
6 checks passed
@kentbull
kentbull deleted the fix/http-monotonic-parser-eof-v0.6.20 branch August 29, 2026 22:47
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