The plain Windows executable carries msquic.dll and serves DNS-over-QUIC without a second file #19
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lantea-one/ninlil#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Why
A single-file win-x64 publish leaves
msquic.dllout of the executable, and System.Net.Quic loadsit only from the executable's folder. The release ships a zip (exe plus dll) as a workaround. The
owner decided on 2026-10-31 that the exe copies its embedded
msquic.dllbeside itself on start.Bundling the dll into the single-file bundle alone does not work: the RP-3x coder showed it is
extracted but System.Net.Quic never looks in the extraction folder (
release-prep.md:64).What changes
src/dotnet/src/Ninlil.Web/Ninlil.Web.csproj:586-605: forwin-*single-file publishes, embedthe runtime pack's
msquic.dll(theRuntimePackAssettheNinlilCopyMsQuicBesideExecutabletarget already finds) as a manifest resource of
Ninlil.Web, so it travels inside the exe.Ninlil.Web/Startup/WindowsMsQuicPlacement.cs(internal, Windows only), called fromProgram.csbefore anything touches a QUIC type (beforeWebApplication.CreateBuilder, next toNativeRuntimeSettingsRelaunch.Apply()atProgram.cs:107; System.Net.Quic decidesIsSupportedonce, on first use). Behaviour, as the owner answered (release-prep.md:81):msquic.dllbeside the exe (AppContext.BaseDirectory) has the embedded file's SHA-256:use it.
half-written dll is never loaded).
telling the operator to place
msquic.dllthere, and make sure a mismatched file is neverloaded (do not touch QUIC; the DoQ listener then reports not running, which the transports
health check already turns into an unhealthy
/statusentry). Everything else keepsrunning.
The logger does not exist yet at that point: collect the outcome and log it once the host's
logger is built.
ninlil-windows-amd64.exeonly. Remove the zip from.forgejo/scripts/publish-binary.sh,.forgejo/scripts/release.shand.forgejo/workflows/pipeline.yml:279-291;.forgejo/scripts/windows-smoke.ps1tests the bareexe in an empty folder;
README.mdWindows install describes the one file;CHANGELOG.mdUnreleasedsays the zip is gone (the platform table at line 58 belongs to the releasedsection and stays).
msquic.dllnext to the exe itself; with a matching hash,step 2 above uses it and nothing is written into
%ProgramFiles%.Acceptance
injected "embedded" byte array: missing file is written; a file with a wrong hash is
replaced; a read-only folder yields the warning text naming the folder and a "do not load"
result; a matching file is left untouched (assert timestamps). Each test fails before the
code exists.
(
windows-smoke.ps1under powershell.exe 5.1 and pwsh 7); with the folder made read-onlyfor the process,
/statusreports DoQ unhealthy, the log has the one warning, DNS overUDP/TCP/DoT and the console still answer.
bash .forgejo/scripts/tests/release.test.sh) assert no zip asset;lint in the container passes; build 0 warnings; csharpier.
Unreleasedentry.Source
release-prep.md:79-81("Post-release (owner, 2026-10-31)" and the owner's answers);release-prep.md:64(W2 finding);release-prep.md:85(RP-3y zip).Owner decision 2026-10-31 (Q-REL-1): "bare exe only".