Repository navigation
test(libSceHttp): check sceHttpCreateConnection, sceHttpCreateRequest and sceHttpCreateRequestWithURL2 - #27192
Merged
oneandonlydean merged 1 commit intoNov 26, 2026
Conversation
… and sceHttpCreateRequestWithURL2 guest_http_options builds every connection and request with sceHttpCreateConnectionWithURL and sceHttpCreateRequestWithURL, so no test called sceHttpCreateConnection, sceHttpCreateRequest or sceHttpCreateRequestWithURL2. Four of the titles I run import sceHttpCreateRequestWithURL2. Build a connection and two requests with them from a template that has authentication and a raw cookie value set. Check that each gets a new id and takes its parent's options, and that changing one request leaves its sibling and its connection as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MarcZX10
approved these changes
Nov 25, 2026
MarcZX10
left a comment
Contributor
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the reviewed code supports merging.
What I ran
Reviewed head 39d14e3ac74657fba9a9eb1bfda25b5d8f0f8d07. Read the prepared diff and the full changed file, then inspected the relevant HTTP export implementations. No tests or build commands were run.
Results
| Check | Result | Note |
|---|---|---|
| Changed code review | passed | New checks cover the named creation APIs and option inheritance. |
| Tests and build | not run | No commands were run. |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The author reports Linux and Windows test runs and a passing conventions check; these were not run during this review. No console behavior was verified.
To get this to a good state
Nothing is required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
guest_http_options builds every connection and request with sceHttpCreateConnectionWithURL and sceHttpCreateRequestWithURL, so no test called sceHttpCreateConnection, sceHttpCreateRequest or sceHttpCreateRequestWithURL2. Four of the titles I run import sceHttpCreateRequestWithURL2.
Build a connection and two requests with them from a template that has authentication and a raw cookie value set. Check that each gets a new id and takes its parent's options, and that changing one request leaves its sibling and its connection as they were.
Test only; no source change.
Tested
Linux (Ubuntu 26.04.1, GCC 15.2, Ninja, Release), on
maindc956738fd:guest_http_optionspasses in 3 of 3 runs.sceHttpCreateConnectionchanged to give its connection no parent options (AddHttpChild(id, 0)), it fails in 3 of 3 runs, at the new check (a connection or request did not take its parent's options).Windows 11 VM (WinLibs GCC 16.2.0, Release), the same head:
guest_http_optionspasses in 3 of 3 runs.tools/check_conventions.py --base upstream/mainpasses.#24528 (AlfaRojo) also edits
core/libs/tests/GuestHttpOptions.cpp; this branch and its head81b4bc374fmerge without conflicts.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)