[GH-ISSUE #3068] Ensure that raw and decoded messages in Request match #1126

Closed
opened 2026-03-16 01:41:02 +03:00 by kerem · 0 comments
Owner

Originally created by @divergentdave on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3068

We should split Request::new() into two separate constructors, one that encapsulates decoding a MessageRequest from an incoming message, and one that takes a MessageRequest and encodes it (for use in tests).

Originally posted by @divergentdave in https://github.com/hickory-dns/hickory-dns/pull/3060#discussion_r2155342585

Originally created by @divergentdave on GitHub (Jun 18, 2025). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3068 We should split `Request::new()` into two separate constructors, one that encapsulates decoding a `MessageRequest` from an incoming message, and one that takes a `MessageRequest` and encodes it (for use in tests). _Originally posted by @divergentdave in https://github.com/hickory-dns/hickory-dns/pull/3060#discussion_r2155342585_
kerem closed this issue 2026-03-16 01:41:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1126
No description provided.