Skip to content

fix(http1): send error when dispatcher is dropped mid-body (#3995)#4016

Open
Barre wants to merge 1 commit intohyperium:masterfrom
Barre:fix/dispatcher-drop-incomplete-body
Open

fix(http1): send error when dispatcher is dropped mid-body (#3995)#4016
Barre wants to merge 1 commit intohyperium:masterfrom
Barre:fix/dispatcher-drop-incomplete-body

Conversation

@Barre
Copy link

@Barre Barre commented Feb 5, 2026

Wrap body_tx in a SenderDropGuard that sends an IncompleteMessage error if the Dispatcher future is dropped while still owning a body Sender, preventing silent data truncation.

…3995)

Wrap body_tx in a SenderDropGuard that sends an IncompleteMessage
error if the Dispatcher future is dropped while still owning a body
Sender, preventing silent data truncation.
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