Repository navigation
fix(libSceHttp2): retain HTTP1 read failures after partial data - #1
Merged
Conversation
12 tasks done
kattkaries
merged commit Nov 29, 2026
d893a5b
into
kattkaries:fix/libSceHttp2-guest-transport-probes
1 check failed
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.
Stacked follow-up to boykopovar/AnyPS5#27624, based directly on its current source-branch head
8add415ce6ba446abf9caf91ed6667dc9a1278ef.Fix:
ReadHttp1operation fails, persist the originalRequestFailure::codeinstate->readResultand close the connection before returning the copied prefix.Regression:
Independent Windows Release/Ninja validation (WinLibs GCC 15.2.0):
guest_http2_tests,guest_http2_cookie_tests,guest_http2_options_tests,guest_http2_transport_tests,guest_http2_teardown_tests, andguest_http2_guest_pointer_tests.^guest_http2: 24/24 passed.guest_http2_guest_pointers: 3/3 consecutive passes.readResult/close handling reproduces the invalid chunk-size exception when the peer resumes.tools/check_conventions.py,tools/debt_fold.py --check,tools/guest_pointer_audit.py libSceHttp2, andgit diff --checkpassed.No console/hardware test was performed.
What
libSceHttp2Request::Read(HTTP/1 path) now retains the originalRequestFailure::codeinstate->readResultand closes the connection when aReadHttp1call fails after bytes were already staged, so subsequent reads return that same failure instead of resuming a chunk/trailer parser. Adds theChunkedReadKeepsTimeoutAfterServerResumesregression toguest_http2_guest_pointers.Diff scope (verified via the GitHub API):
core/libs/prx/libSceHttp2/Transport.cpp(+3/-1),core/libs/tests/GuestHttp2GuestPointers.cpp(+102/-0). One commit,1ed49126b7cf91ea0ff30bf252c0ef7fa8074517—fix(libSceHttp2): retain HTTP1 read failures after partial data(Conventional).Tested
Author-reported, not independently verified by the maintainer. The maintainer did not build or run tests for this description-only edit; no build or test result below was reproduced here.
guest_http2_tests,guest_http2_cookie_tests,guest_http2_options_tests,guest_http2_transport_tests,guest_http2_teardown_tests, andguest_http2_guest_pointer_tests.^guest_http2: 24/24 passed;guest_http2_guest_pointers3/3 consecutive passes.readResult/close handling reproduces the invalid chunk-size exception when the peer resumes.tools/check_conventions.py,tools/debt_fold.py --check,tools/guest_pointer_audit.py libSceHttp2, andgit diff --checkreported passing.No console/hardware test was performed. Fork PR hosted checks are the CI evidence for this branch.
Checklist
main; no other open PR implements the same functions — this PR is stacked on the source branch of fix(libSceHttp2): probe guest buffers in sceHttp2ReadData and sceHttp2SendRequest boykopovar/AnyPS5#27624, not onmainNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file — no unimplemented path or stub is added by this diff.mdfiles or images added to the repository (attach them to this PR) — verified: onlyTransport.cppandGuestHttp2GuestPointers.cppchange