Repository navigation
docs(debt): correct libSceHttp2 redirect cache statement - #15709
Merged
Merged
Conversation
Old: "automatic redirects throw, so there is no redirect cache to flush" New: "redirects are followed without a cache, so there is nothing to flush" Evidence: - core/libs/prx/libSceHttp2/Transport.cpp:947-1023 loops over 301, 302, 303, 307 and 308 responses, calls the redirect callback and stops after six redirects. - core/libs/prx/libSceHttp2/Transport.hpp:33 has `int redirect = 1;`, so following is the default. - core/libs/prx/libSceHttp2/Export.cpp:465-468 sceHttp2RedirectCacheFlush still returns 0 without a cache, so the rest of the entry is unchanged. - bffc7ed (boykopovar#10536) wrote the old clause while the transport rejected redirects. 59bc5a8 (boykopovar#11586) made the transport follow them and removed the matching transport entry but missed this line.
sherySJ
force-pushed
the
agent/anyps5-debt-http2
branch
from
November 4, 2026 09:02
c491b90 to
4137231
Compare
Merged
12 tasks done
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
Collaborator
|
Checked the claim against |
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
docs/dev/debt/libSceHttp2.md:5: thesceHttp2RedirectCacheFlushSilent stubs entry says "automatic redirects throw, so there is no redirect cache to flush". That is no longer true.origin/mainb11c7bf:core/libs/prx/libSceHttp2/Transport.cpp:947-1023loops over 301/302/303/307/308 responses, calls the redirect callback, stops after six redirects and reconnects to the target;core/libs/prx/libSceHttp2/Transport.hpp:33hasint redirect = 1;, so following is the default. Only the exceptional paths throw, as thelibSceHttp2 redirectsentry at line 50 already says.sceHttp2RedirectCacheFlushis(void)lib_http2_ctx_id; return 0;(core/libs/prx/libSceHttp2/Export.cpp:465-468) andTransport.cpphas no redirect cache.Tested
Docs only, no build. Run on head 4137231 (2026-11-04T08:59Z):
python3 tools/check_conventions.py --base origin/main: All conventions checks passed.git diff --check origin/main: clean.git log -S"automatic redirects throw" origin/main -- docs/dev/debt: only bffc7ed.git show 59bc5a8f19 -- docs/dev/debt/libSceHttp2.md: removes the transport entry's redirect wording, leaves line 5.Overlap
Base:
origin/mainb11c7bf, checked 2026-11-04T08:58Z. Open PRs touchingdocs/dev/debt/libSceHttp2.md(viagh pr list --state open --json files), each fetched withgit fetch origin pull/<n>/head:refs/remotes/pr/<n>:No PR changes the
sceHttp2RedirectCacheFlushline (the line is byte-identical toorigin/mainin every head). Checked withgit merge-tree --write-tree origin/main <pr head>andgit merge-tree --write-tree <this head> <pr head>: this head adds no conflict that main does not already have with those PRs.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)