This two tests crash after r274244 on GTK and WPE ports Regressions: Unexpected crashes (2) http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ] http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ] A libsoup critical warning is emitted when running this tests: (process:4649): libsoup-CRITICAL **: 04:19:24.386: soup_filter_input_stream_read_until: assertion '!include_boundary || (boundary_length < length)' failed Debugging the issue it seems is related that the Apache server now doesn't send a "Content-length" header with the size of the body for the new version of the tests with cgi/python Therefore in that case we should end the text stream with an empty \r\n
Created attachment 424728 [details] Patch
Created attachment 424731 [details] Patch
Committed r275274: <https://commits.webkit.org/r275274> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424731 [details].
<rdar://problem/76043842>