feat(libSceHttp): implement request header removal stub #9417
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9417"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T21:14:10Z.
What
Implements the
sceHttpRemoveRequestHeader(int id, const char* name)export using the signature in VitaSDK's HTTP header. The offline HTTP backend already accepts and discards request headers insceHttpAddRequestHeaderand never sends requests, so removal follows that behavior. The remaining signature-validation and error behavior on PS5 are recorded as unverified.Tested
Linux:
cmake --build /tmp/AnyPS5-http-remove-header-build --target guest_http_options_tests --parallel 4passed.ctest --test-dir /tmp/AnyPS5-http-remove-header-build -R '^guest_http_options$' --output-on-failurecould not execute the test: this host's Intel Xeon E5-1620 v2 lacks AVX2, FMA, BMI1, BMI2, LZCNT and MOVBE required by AnyPS5.python3 tools/check_conventions.py --base upstream/main,python3 tools/pr_overlap.py --branch feat/http-remove-request-header, andgit diff --checkpassed. No PS5 hardware run.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T21:15:22Z.
Progress report (
8b3e398→13eea0a)📈 System libraries: 43.24% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceHttpRemoveRequestHeader⚪ 1 behaviourally empty (constant return or throw)
sceHttpRemoveRequestHeaderImported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-21T23:34:05Z.
Review: COMMENTED
First execution of this test. The description notes the author's Linux host lacks AVX2, so
ctestcould not run there; this is the first actual run ofguest_http_optionsfor this change.Machine: Linux x86_64, i7-8700 (6 cores / 12 threads), Ubuntu 26.04, GCC 15.2, Release,
BUILD_TESTING=ON, full build. Head151a46c52(a rebase of the validated9c5765768ontomaina6dcea927, same diff). Validated at9c5765768merged ontomain0c6a5bd59.guest_http_optionspasses.libSceHttp/Export.cpptomainand keeping the test aborts it withsceHttpRemoveRequestHeader not implemented, so the test covers the change.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.