[GH-ISSUE #799] Client read timeout on parser error #297

Open
opened 2026-03-07 23:18:40 +03:00 by kerem · 0 comments
Owner

Originally created by @zackangelo on GitHub (Jun 18, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/799

Describe the bug
A read timeout error is returned when parser logic fails for the Message Header.

To Reproduce
Steps to reproduce the behavior: modify the logic to return an error for one of the inner Header fields.

Expected behavior
Instead of a timeout, an error describing the parser error should be returned.

System:

  • OS: macOS
  • Architecture: x86_64
  • Version 10.14.4
  • rustc version: rustc 1.35.0 (3c235d560 2019-05-20)

Version:
Crate: client, proto
Version: 16.1

Originally created by @zackangelo on GitHub (Jun 18, 2019). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/799 **Describe the bug** A read timeout error is returned when parser logic fails for the `Message` `Header`. **To Reproduce** Steps to reproduce the behavior: modify the logic to return an error for one of the inner `Header` fields. **Expected behavior** Instead of a timeout, an error describing the parser error should be returned. **System:** - OS: macOS - Architecture: x86_64 - Version 10.14.4 - rustc version: rustc 1.35.0 (3c235d560 2019-05-20) **Version:** Crate: client, proto Version: 16.1
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#297
No description provided.