HLE tests: Windows 10's winhttp.dll may lack WinHttpGetProxySettingsEx (#118) #349
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!349
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/349/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@justrealyme on GitHub · 2026-11-24 02:30 UTC · original
justrealyme:fix/winhttp-proxy-settings-ex-win10→main· +10 −2 · 1 files · 1 commits · closed without mergingFixes #118.
What
only_loopback_is_reachable(incrates/victory-hle/src/modules/net.rs) checks that every function the net module overrides is also exported by the host DLL. Windows 10'swinhttp.dlldoes not exportWinHttpGetProxySettingsEx, so the test panics there.The title always binds to our override, never to the host's function, so a missing host export does not matter at runtime. The test now skips the exports newer than the oldest supported host (a one-entry list,
NEWER_THAN_WINDOWS_10) and still checks all the others.Testing
rustfmt --checkon the changed file passes.cargo test -p victory-hlepasses on Windows.No game data involved. AI-assisted (Claude Code).
@jeremygold02 on GitHub · 2026-11-24 03:00 UTC · original
Thanks @justrealyme and @Makto94. These changes address the same
WinHttpGetProxySettingsExtest failure on hosts where the export is absent. #349 excludes the export unconditionally (diff); #152 skips it only when the host lacks it, so the test still checks the export where it exists (diff). That conditional behavior makes #152 the stronger candidate to keep if maintainers consolidate. Please preserve #349's report and credit in that decision. This is for maintainers to decide.Pull request closed