XCL_NETWORK=0: WSASendTo lets loopback and connected sockets through, matching sendto #801

Open
mastrr9 wants to merge 1 commit from upstream-pr/807 into main
mastrr9 commented 2026-11-24 05:41:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T05:41:35Z.


With XCL_NETWORK=0, sendto lets datagrams to loopback and null destination addresses (connected sockets) through, whereas wsa_send_to unconditionally refused every call with WSAENETUNREACH (10051) and installed its system hook with spare() instead of a dedicated trampoline.

What is in it

  • crates/xcl/src/hle/netoff.rs: adds real_wsa_send_to, O_WSA_SEND_TO, and orig_wsa_send_to, wires WSASendTo in install_system_hooks() to &O_WSA_SEND_TO, and updates wsa_send_to to allow to.is_null() || loopback(to, tolen) (matching sendto).
  • Regression test wsa_send_to_lets_loopback_through (verifies 8.8.8.8 still returns WSAENETUNREACH, while 127.0.0.1 and null destination reach Winsock's own error).
  • Note: PRs #462, #570, and #612 also edit the hook table in netoff.rs, though none touch wsa_send_to.

Tested

  • Environment: NVIDIA GeForce RTX 5080 (16 GB, wave32, driver 617.42 / 32.0.16.1742), Windows 11 Pro 25H2 (26200.9974), D3D12 debug layer installed (d3d12SDKLayers.dll), rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC from Windows SDK 10.0.26100.0, debug build.
  • Negative control (unmodified main d208e14): hle::netoff::tests::wsa_send_to_lets_loopback_through failed with WSAENETUNREACH (10051) on 127.0.0.1.
  • Command (identical tree at 5653bd7 / pushed head 5cac6e9): cargo build --workspace && cargo test --workspace -- --test-threads=4
  • Result: 705 passed, 0 failed, 41 ignored (0 new warnings).
  • SKIPPED (2): gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware (no wave64).

Regression run
Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/807#issuecomment-7151502296
Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted.

main:

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB

PR:

xcl-smoke v1
commit: 62201a7d63ea840f93c3e3fc4b8568bdf2d44d07
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1622 (PresentX 1622)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14814 MB

Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; the tester checked the blocks before posting.

Not tested

  • By the author: AMD/wave64 hardware, and release build.
  • Whether the community regression run above reaches the code this PR changes.

AI use

  • Claude Opus 5.5 (via Claude Duet / Claude Code) identified the bug from source review and drafted the initial patch.
  • Antigravity (Gemini 4 Neon) audited netoff.rs, verified the negative control and full Windows RTX 5080 MSVC workspace suite, and drafted this PR description.
  • Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
<!-- greyfinch-sync:ivall/xcl:issue:5466792805 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T05:41:35Z. --- With `XCL_NETWORK=0`, `sendto` lets datagrams to loopback and null destination addresses (connected sockets) through, whereas `wsa_send_to` unconditionally refused every call with `WSAENETUNREACH` (`10051`) and installed its system hook with `spare()` instead of a dedicated trampoline. **What is in it** - `crates/xcl/src/hle/netoff.rs`: adds `real_wsa_send_to`, `O_WSA_SEND_TO`, and `orig_wsa_send_to`, wires `WSASendTo` in `install_system_hooks()` to `&O_WSA_SEND_TO`, and updates `wsa_send_to` to allow `to.is_null() || loopback(to, tolen)` (matching `sendto`). - Regression test `wsa_send_to_lets_loopback_through` (verifies `8.8.8.8` still returns `WSAENETUNREACH`, while `127.0.0.1` and null destination reach Winsock's own error). - Note: PRs #462, #570, and #612 also edit the hook table in `netoff.rs`, though none touch `wsa_send_to`. **Tested** - **Environment:** NVIDIA GeForce RTX 5080 (16 GB, wave32, driver `617.42` / `32.0.16.1742`), Windows 11 Pro 25H2 (`26200.9974`), D3D12 debug layer installed (`d3d12SDKLayers.dll`), `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC from Windows SDK `10.0.26100.0`, debug build. - **Negative control (unmodified `main` `d208e14`):** `hle::netoff::tests::wsa_send_to_lets_loopback_through` **failed** with `WSAENETUNREACH` (`10051`) on `127.0.0.1`. - **Command (identical tree at `5653bd7` / pushed head `5cac6e9`):** `cargo build --workspace && cargo test --workspace -- --test-threads=4` - **Result:** **705 passed, 0 failed, 41 ignored** (0 new warnings). - **SKIPPED (2):** `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask` (`no wave64`), `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware` (`no wave64`). **Regression run** Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/807#issuecomment-7151502296 Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted. main: ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` PR: ``` xcl-smoke v1 commit: 62201a7d63ea840f93c3e3fc4b8568bdf2d44d07 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1622 (PresentX 1622) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14814 MB ``` Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; the tester checked the blocks before posting. **Not tested** - By the author: AMD/wave64 hardware, and release build. - Whether the community regression run above reaches the code this PR changes. **AI use** - Claude Opus 5.5 (via Claude Duet / Claude Code) identified the bug from source review and drafted the initial patch. - Antigravity (Gemini 4 Neon) audited `netoff.rs`, verified the negative control and full Windows RTX 5080 MSVC workspace suite, and drafted this PR description. - Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
futurepro62 commented 2026-11-24 07:06:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T07:06:13Z.


Full-suite run, since this PR has no test report yet. Tested exact head 5cac6e9 (on its base d208e14).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 705 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: wsa_send_to_lets_loopback_through.

Not tested

  • AMD, a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7124619111 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/807#issuecomment-7124619111). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T07:06:13Z. --- Full-suite run, since this PR has no test report yet. Tested exact head `5cac6e9` (on its base `d208e14`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4`: **705 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `wsa_send_to_lets_loopback_through`. **Not tested** - AMD, a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
SlopTart commented 2026-11-24 08:03:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T07:17:43Z.


Linux / AMD RDNA3 datapoint.

Merged state: head 5cac6e9 onto main beaa245, clean merge.

Full suite, cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 707 passed, 7 failed, 41 ignored. Failures are the known Wine-lane set from my #42 rows plus #718 trio members; nothing here fails because of your change. wsa_send_to_lets_loopback_through and only_loopback_goes_through ok under Proton Experimental with XCL_NETWORK=0.

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7124832369 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/807#issuecomment-7124832369). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T07:17:43Z. --- Linux / AMD RDNA3 datapoint. **Merged state:** head `5cac6e9` onto main `beaa245`, clean merge. **Full suite, `cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4`:** **707 passed, 7 failed, 41 ignored**. Failures are the known Wine-lane set from my #42 rows plus #718 trio members; nothing here fails because of your change. `wsa_send_to_lets_loopback_through` and `only_loopback_goes_through` ok under Proton Experimental with `XCL_NETWORK=0`. **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
OrangeCrane1738 commented 2026-11-24 18:09:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by OrangeCrane1738 on 2026-11-24T17:06:49Z.


Test report for 62201a7 on the retail title: one 120 s smoke run without this PR and one with it.

Tested

  • Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, scripts/smoke.ps1 -Seconds 120 on the retail title, no input.
  • This PC has no Gaming Services, so plain main dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: main 930e8b4 + #235, and the same + this PR (62201a7). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs.
  • The title: line is the game folder's name, shortened.
  • Nothing visible in 120 s, which is what this change should do on a working title: nothing was refused in either run (no XCL_NETWORK=0: ... fails lines), and the system hooks installed in both.
  • Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same 5 refused online-ticket requests, frames and memory within run-to-run noise, no crashes and no device removals.

Smoke runs

main 930e8b4 + #235

xcl-smoke v1
commit: 5868a1382d4985e05a4e9a79139d8867230ef9fd
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 1244 (PresentX 1244)
presents per 2 s (last 3): 24 23 24
device removals: 0
crashes: 0
peak commit: 15364 MB

main 930e8b4 + #235 + #807 (62201a7)

xcl-smoke v1
commit: 68b3a721f2c258f7cc9fbd7be3a5ab65cb36b5b1
gpu: NVIDIA GeForce RTX 5060 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 120
exit: 0x0
frames shown: 1253 (PresentX 1253)
presents per 2 s (last 3): 24 25 24
device removals: 0
crashes: 0
peak commit: 15361 MB

Review note: merge order
Letting a null destination through relies on a connected socket only ever having been connected to loopback. On main, connect and WSAConnect are refused, but ConnectEx (#444 / #462) and WSAConnectByList (#821) are not yet, so until those are in, a socket connected through either could send out through WSASendTo with a null destination. The same already holds for sendto (and for send / WSASend, which aren't hooked), so this PR doesn't open anything new; merging #462 and #821 first closes it for all of them.

Not tested

  • Runs of main and of this PR's head as they are (no Gaming Services here, see above).
  • A title that sends with WSASendTo.
  • AMD; the cargo test suite (not run for this report).

AI use

  • Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
<!-- greyfinch-sync:ivall/xcl:comment:7138704491 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807#issuecomment-7138704491). Originally posted by [OrangeCrane1738](https://github.com/OrangeCrane1738) on 2026-11-24T17:06:49Z. --- Test report for 62201a7 on the retail title: one 120 s smoke run without this PR and one with it. **Tested** - Windows 11 Pro, NVIDIA GeForce RTX 5060 Ti, release builds, `scripts/smoke.ps1 -Seconds 120` on the retail title, no input. - This PC has no Gaming Services, so plain `main` dies early on the XAsync routing that #235 fixes. Both builds therefore include #235: `main` 930e8b4 + #235, and the same + this PR (62201a7). Their commits are local merges, so the blocks below can't stand in for the main / PR-head pair the PR check needs. - The `title:` line is the game folder's name, shortened. - Nothing visible in 120 s, which is what this change should do on a working title: nothing was refused in either run (no `XCL_NETWORK=0: ... fails` lines), and the system hooks installed in both. - Otherwise the same: DirectStorage 9,767 requests / 650 MB / 0 failed in both runs, the same 5 refused online-ticket requests, frames and memory within run-to-run noise, no crashes and no device removals. **Smoke runs** main 930e8b4 + #235 ``` xcl-smoke v1 commit: 5868a1382d4985e05a4e9a79139d8867230ef9fd gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 1244 (PresentX 1244) presents per 2 s (last 3): 24 23 24 device removals: 0 crashes: 0 peak commit: 15364 MB ``` main 930e8b4 + #235 + #807 (62201a7) ``` xcl-smoke v1 commit: 68b3a721f2c258f7cc9fbd7be3a5ab65cb36b5b1 gpu: NVIDIA GeForce RTX 5060 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 120 exit: 0x0 frames shown: 1253 (PresentX 1253) presents per 2 s (last 3): 24 25 24 device removals: 0 crashes: 0 peak commit: 15361 MB ``` **Review note: merge order** Letting a null destination through relies on a connected socket only ever having been connected to loopback. On `main`, `connect` and `WSAConnect` are refused, but `ConnectEx` (#444 / #462) and `WSAConnectByList` (#821) are not yet, so until those are in, a socket connected through either could send out through `WSASendTo` with a null destination. The same already holds for `sendto` (and for `send` / `WSASend`, which aren't hooked), so this PR doesn't open anything new; merging #462 and #821 first closes it for all of them. **Not tested** - Runs of `main` and of this PR's head as they are (no Gaming Services here, see above). - A title that sends with `WSASendTo`. - AMD; the cargo test suite (not run for this report). **AI use** - Claude Opus 5.5 (in the Claude app): set up the test script, read the logs and wrote this report. The runs were made on my own machine with my own copy; nothing from the game is attached.
Toons29 commented 2026-11-25 03:05:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:00:48Z.


Regression run of 62201a7d on the retail title, for this PR's Regression run section. Both blocks are from scripts/smoke.ps1 as printed, not edited: main on 4178e888, this PR on its head commit with no uncommitted changes, same title and time.

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit: 62201a7d63ea840f93c3e3fc4b8568bdf2d44d07
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1622 (PresentX 1622)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14814 MB

Against the limits in CONTRIBUTING.md: 100 % of main's frames, 100 % of its peak commit, no crash, no device removal.

AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; I checked the blocks before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7151502296 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807#issuecomment-7151502296). Originally posted by [Toons29](https://github.com/Toons29) on 2026-11-25T03:00:48Z. --- Regression run of `62201a7d` on the retail title, for this PR's **Regression run** section. Both blocks are from `scripts/smoke.ps1` as printed, not edited: `main` on `4178e888`, this PR on its head commit with no uncommitted changes, same title and time. ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` ``` xcl-smoke v1 commit: 62201a7d63ea840f93c3e3fc4b8568bdf2d44d07 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1622 (PresentX 1622) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14814 MB ``` Against the limits in CONTRIBUTING.md: 100 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; I checked the blocks before posting.
DavidM1911 commented 2026-11-25 11:09:28 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T10:48:24Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7160197830 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807#issuecomment-7160197830). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T10:48:24Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
github-actions[bot] commented 2026-11-29 20:41:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:41:21Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7262279473 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807#issuecomment-7262279473). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T20:41:21Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:10:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:10:36Z.


Triage (#1607) – head 62201a7

No open or merged PR makes the same change: on main, netoff.rs wsa_send_to still refuses every call, while sendto and WSASendMsg (#612) already let null and loopback destinations through. This PR adds the matching original trampoline (O_WSA_SEND_TO) and test. No problems found in the diff.
The branch conflicts with main (the WSASendMsg hook and O_WSA_SEND_MSG were added next to the same lines) and needs a rebase.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7300457336 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/807#issuecomment-7300457336). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:10:36Z. --- **Triage (#1607)** – head 62201a7 No open or merged PR makes the same change: on main, netoff.rs `wsa_send_to` still refuses every call, while `sendto` and `WSASendMsg` (#612) already let null and loopback destinations through. This PR adds the matching original trampoline (`O_WSA_SEND_TO`) and test. No problems found in the diff. The branch conflicts with main (the `WSASendMsg` hook and `O_WSA_SEND_MSG` were added next to the same lines) and needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/807:upstream-pr/807'
git switch 'upstream-pr/807'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/807'
git switch 'upstream-pr/807'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/807'
git switch 'upstream-pr/807'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/807'
git switch 'main'
git merge --squash 'upstream-pr/807'
git switch 'main'
git merge --ff-only 'upstream-pr/807'
git switch 'main'
git merge 'upstream-pr/807'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!801
No description provided.