Repository navigation
feat(libSceNet): implement resolver abort and multiple records - #3728
Merged
adriadam10 merged 3 commits intoOct 12, 2026
Merged
Conversation
This was referenced Oct 11, 2026
Collaborator
|
Checked the resolver abort/multiple-records change: Added one commit on your branch:
Merging once CI is green. |
9 tasks done
9 tasks done
Collaborator
10 tasks done
This was referenced Oct 12, 2026
MarcZX10
force-pushed
the
codex/net-resolver-abort-3153
branch
from
October 12, 2026 16:59
9f27b2f to
be76c2a
Compare
This was referenced Oct 12, 2026
MarcZX10
force-pushed
the
codex/net-resolver-abort-3153
branch
2 times, most recently
from
October 12, 2026 18:48
b736108 to
10fefb8
Compare
10 tasks done
…tNtoaMultipleRecords UFC 6 (PPSA23566) imports sceNetResolverAbort (boykopovar#992, boykopovar#1502); Palworld (PPSA23126) and LEGO Horizon Adventures (PPSA14632) import sceNetResolverStartNtoaMultipleRecords. Signatures and behaviour follow shadPS4 811bfcd7d17e (src/core/libraries/net/net.cpp, net_resolver.cpp); the abort signature also matches SharpProspero Interop/Net/Socket.cs. sceNetResolverStartNtoaMultipleRecords shares the lookup of the Ex form and, like it, throws for any flag. sceNetResolverAbort returns EBADF for an unknown resolver and throws for flag bits other than NTOA (1) and ATON (2) preservation. Host lookups cannot be interrupted, so an abort during a running lookup makes it fail with EINTR when the host call returns, without writing its output; with nothing running, the preservation flags make the next lookup of that kind fail with EINTR. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> (cherry picked from commit bcc8be8)
The PR added a second PPSA23566 line fused with the PPSA28416 one instead of editing the original.
Co-Authored-By: Claude <noreply@anthropic.com>
adriadam10
force-pushed
the
codex/net-resolver-abort-3153
branch
from
October 12, 2026 20:06
10fefb8 to
833cc35
Compare
Collaborator
|
Re-checked after the debt files moved to Added one commit on your branch:
Merging once CI is green. |
barnacasiantiberiu
added a commit
to barnacasiantiberiu/AnyPS5
that referenced
this pull request
Oct 12, 2026
Share IPv4 lookup/result formatting between the regular and Ex multi-record entry points. Track resolver cancellation, preserving forward/reverse aborts for one lookup when idle and checking running lookups before publishing output. Add a dedicated PC functional suite without an external DNS dependency or skips. Implementation adapted from boykopovar/AnyPS5 PR boykopovar#3728, head 10fefb8, original implementation 35961b9 by David, co-authored with Claude Fable 5.1, with documentation cleanup by Adria Franch. The new deterministic GuestNetResolver test is local work. Windows Release: full build, libs, nine module CTests and ten integration CTests passed, including guest_sce_net. The new resolver test fails on unchanged sources at sceNetResolverAbort and passes with this implementation. Checks cover exact record bytes, output bounds, invalid arguments/flags, one-shot aborts, direction isolation, separate contexts and 16 lifecycles. Active DNS abort races and console ABI details remain documented limitations.
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
Implements
sceNetResolverAbortandsceNetResolverStartNtoaMultipleRecords, extendsguest_sce_net, and records unresolved console behavior in TechnicalDebt.Carried the independently Linux-verified ready commit unchanged, preserving David's author metadata. The TechnicalDebt append was rebased with current-main entries retained.
Tested
Independent Linux Release verification on the rebased change:
guest_sce_netand full suite (520/520) passed; conventions andgit diff --checkpassed. The original Windows Release report recordsguest_sce_net3/3 and full suite 475/475. Abort racing a lookup has no test because localhost resolves too quickly. Verification details are in issue #3153.Checklist
main; no other open PR implements these functions