Repository navigation
Conversation
|
Tested Setup: Fedora 44, RX 7800 XT (RADV 26.2.6). Proton Experimental 11.0-20261112 (
|
Wine's ws2_32 lacks WSAConnectByList and GetAddrInfoExA, and its winhttp WinHttpGetProxySettingsEx. Forwarding to the first two panicked (the host lacks ...). WSAConnectByList now tries each vetted candidate with connect (blocking, the timeout not kept) where the host has none, and GetAddrInfoExA answers WSAHOST_NOT_FOUND, as for a blocked name. WinHttpGetProxySettingsEx never reaches the host. The export test skips the three only where the host lacks them (it already did so for WinHttpGetProxySettingsEx); a new test covers the connect fallback. view_format is Windows-only like host_resource, its only callee, so victory-gpu builds on non-Windows hosts again. The pre-commit hook is executable: git skipped it on Linux, where `cargo xtask install-hooks` said it was installed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dbbe37d to
133e114
Compare
|
Automated triage for the maintainers. Closing because it is outside the project's scope (VIctory targets Windows hosts; ports, launchers and tooling for other platforms are not being taken). Out of scope: fallbacks for exports Wine's ws2_32 lacks (real Windows has them), a non-Windows cfg in victory-gpu and the pre-commit hook's file mode, all for running under Wine/Proton on Linux. The network guard is not loosened. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
|
Thanks for taking a look. Nothing was missed: these only matter under Wine, and real Windows hosts have the exports. I'll keep them in my fork. |
What
Three small fixes for running VIctory under Wine or Proton. They work with either Linux toolchain, including the one in #191, and are split out of #195, which was closed as a duplicate of #191.
ws2_32.dlllacksWSAConnectByListandGetAddrInfoExA, and itswinhttp.dlllacksWinHttpGetProxySettingsEx. Forwarding to the first two panicked withthe host lacks ws2_32.dll!..., so a title call ended the run.WSAConnectByListnow tries each vetted candidate in turn withconnectwhen the host has noWSAConnectByList. It blocks, and the timeout isn't honoured.GetAddrInfoExAanswersWSAHOST_NOT_FOUNDwhen the host lacks it, as it already does for a blocked name.WinHttpGetProxySettingsExnever reaches the host. The export test exempts all three, and a new test covers theconnectfallback.view_formatis#[cfg(windows)], likehost_resource, its only callee.victory-gpufailed to compile on non-Windows hosts withcannot find function host_resource..githooks/pre-commitis executable (100755). Git ignored the hook on Linux even aftercargo xtask install-hooksreported it as installed, so the asset-policy check never ran on commit.Why
Found while running VIctory under Wine 11.21 with VKD3D-Proton.
only_loopback_is_reachablepanicked onws2_32.dll lacks WSAConnectByList, and a title connecting throughWSAConnectByListwould end the same way.Testing
x86_64-pc-windows-msvc),cargo test -p victory-hlepasses all 87 tests, includingonly_loopback_is_reachableand the newconnect_by_list_falls_back_to_connect.cargo check -p victory-gpupasses natively on Linux.asset policy: 3 files ok).Not run on Windows. There,
WSAConnectByListandGetAddrInfoExAstill forward to the host as before, since the host exports them.🤖 Generated with Claude Code