Skip to content

Fix GH-9949: Partial content on incomplete POST request #10059

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

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 6, 2022

ap_get_brigade() may fail for different reasons, and we must not pretend that a partially read POST payload is fine; instead we report a content length of zero what matches all other read_post() callbacks of bundled SAPIs.

`ap_get_brigade()` may fail for different reasons, and we must not
pretend that a partially read POST payload is fine; instead we report
a content length of zero what matches all other `read_post()` callbacks
of bundled SAPIs.
@cmb69 cmb69 linked an issue Dec 6, 2022 that may be closed by this pull request
Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense to me based on the description in the PR and in the linked issue.

@cmb69 cmb69 closed this in aef7d81 Dec 13, 2022
@cmb69 cmb69 deleted the cmb/gh9949 branch December 13, 2022 14:32
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.

Partial content on POST request with 'chunked' transfer encoding
2 participants