Skip to content

ext/soap: Reject a response body shorter than Content-Length - #23935

Merged
iliaal merged 1 commit into
php:masterfrom
iliaal:fix/soap-truncated-body-84
Sep 27, 2026
Merged

iliaal merged 1 commit into
php:masterfrom
iliaal:fix/soap-truncated-body-84

Conversation

@iliaal

@iliaal iliaal commented Sep 26, 2026

Copy link
Copy Markdown
Member

A short read of a Content-Length body returned the bytes received and left the keep-alive socket cached. The read now fails, which closes that socket and raises the existing HTTP fault.

@devnexen

Copy link
Copy Markdown
Member

please target master, lgtm otherwise

A short read of a Content-Length body returned the bytes received and left
the keep-alive socket cached. Return failure instead, which closes that
socket and raises the existing HTTP fault.
@iliaal
iliaal force-pushed the fix/soap-truncated-body-84 branch from 829ec14 to 92fec6f Compare September 27, 2026 12:16
@iliaal
iliaal changed the base branch from PHP-8.4 to master September 27, 2026 12:16
@iliaal
iliaal merged commit 38ec8eb into php:master Sep 27, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants