Skip to content

fix: avoid DNS stream transaction ID collisions#881

Merged
ryanfowler merged 1 commit into
mainfrom
fix/distinct-stream-dns-ids
Jul 18, 2026
Merged

fix: avoid DNS stream transaction ID collisions#881
ryanfowler merged 1 commit into
mainfrom
fix/distinct-stream-dns-ids

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • ensure multiplexed TCP/TLS A and AAAA DNS queries use distinct transaction IDs
  • retry ID generation when a collision occurs
  • add a deterministic regression test with an injected duplicate ID

Validation

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --locked --all-features --lib --bins

@ryanfowler
ryanfowler merged commit ee2f1b7 into main Jul 18, 2026
4 checks passed
@ryanfowler
ryanfowler deleted the fix/distinct-stream-dns-ids branch July 18, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant