A QUIC zone transfer completes when the primary closes its stream before reading the client's end of stream #400
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!400
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/350-quic-transfer-end-of-stream"
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?
A QUIC zone transfer now completes when the primary answers and closes its stream before it has read the secondary's end of stream.
QuicZoneTransferClient.PullAsyncsent its end of stream (RFC 9250 §4.2) without tolerating a failure. A primary that stops reading sends STOP_SENDING (RFC 9000 §3.5), the write threwQuicException, and the transfer failed although the whole answer had arrived.QuicExceptionwhile reading the response is returned as a failed pull. It used to escape to the refresh service's catch-all, which logged "Unhandled exception" and abandoned the rest of that batch of zones.OnQueryWrittenAsyncis aninternal virtualno-op the tests override throughInternalsVisibleToto hold the end of stream back until STOP_SENDING has arrived; without it the race cannot be produced. It adds nothing to the package's public API.## Unreleased.Verified
QuicException: Stream aborted by peer; with it they pass.Ninlil.Dns.Server.Authoritative.Tests674 of 674 on Linux; build 0 warnings; csharpier clean on the changed folders.Closes #350
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK