[PR #2314] [MERGED] avoid moving self in read_hosts_conf(reading from multiple files) #2943

Closed
opened 2026-03-16 11:16:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2314
Author: @mokeyish
Created: 7/19/2024
Status: Merged
Merged: 7/21/2024
Merged by: @djc

Base: mainHead: hosts


📝 Commits (1)

  • 0acce11 avoid moving self in read_hosts_conf

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 crates/resolver/src/hosts.rs (+5 -3)

📄 Description

When reading from multiple files, an error will cause all records to be lost.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/2314 **Author:** [@mokeyish](https://github.com/mokeyish) **Created:** 7/19/2024 **Status:** ✅ Merged **Merged:** 7/21/2024 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `hosts` --- ### 📝 Commits (1) - [`0acce11`](https://github.com/hickory-dns/hickory-dns/commit/0acce11b52959962edefae46c7f734d6b5d968d3) avoid moving self in read_hosts_conf ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/resolver/src/hosts.rs` (+5 -3) </details> ### 📄 Description When reading from multiple files, an error will cause all records to be lost. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:16:36 +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#2943
No description provided.