[PR #3318] [MERGED] Opportunistic encryption tweaks #3737

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/3318
Author: @djc
Created: 10/17/2025
Status: Merged
Merged: 10/20/2025
Merged by: @djc

Base: mainHead: opp-enc-tweaks


📝 Commits (6)

  • 3bfaa59 resolver: move SharedNameServerTransportState out of config
  • 5c411b4 resolver: avoid unused import in example
  • 809080f resolver: privatize more transport state API and drop unused state
  • 0deaf7b resolver: simplify PoolContext::new()
  • 9c12c04 resolver: isolate connect task state
  • 8284b8c resolver: store transport state in PoolContext

📊 Changes

9 files changed (+417 additions, -462 deletions)

View changed files

📝 crates/recursor/src/recursor.rs (+5 -5)
📝 crates/recursor/src/recursor_dns_handle.rs (+7 -10)
📝 crates/resolver/examples/custom_provider.rs (+6 -1)
📝 crates/resolver/src/config.rs (+2 -232)
📝 crates/resolver/src/name_server/mod.rs (+1 -1)
📝 crates/resolver/src/name_server/name_server.rs (+151 -177)
📝 crates/resolver/src/name_server/name_server_pool.rs (+236 -19)
📝 crates/resolver/src/resolver.rs (+7 -9)
📝 tests/integration-tests/tests/integration/name_server_pool_tests.rs (+2 -8)

📄 Description

Mainly, store the transport state inside the PoolContext.


🔄 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/3318 **Author:** [@djc](https://github.com/djc) **Created:** 10/17/2025 **Status:** ✅ Merged **Merged:** 10/20/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `opp-enc-tweaks` --- ### 📝 Commits (6) - [`3bfaa59`](https://github.com/hickory-dns/hickory-dns/commit/3bfaa59495f5f9bd381d14846611c4283be3c6d9) resolver: move SharedNameServerTransportState out of config - [`5c411b4`](https://github.com/hickory-dns/hickory-dns/commit/5c411b47ee1ea6d4488fa445932be6fe5a761572) resolver: avoid unused import in example - [`809080f`](https://github.com/hickory-dns/hickory-dns/commit/809080fa8f5d2cc190ef72358e15be544e08b6de) resolver: privatize more transport state API and drop unused state - [`0deaf7b`](https://github.com/hickory-dns/hickory-dns/commit/0deaf7b55ed25f9b1222ed327022a10f93a69d54) resolver: simplify PoolContext::new() - [`9c12c04`](https://github.com/hickory-dns/hickory-dns/commit/9c12c0431f20473c3cee8f33d579e1ffac4fdd7c) resolver: isolate connect task state - [`8284b8c`](https://github.com/hickory-dns/hickory-dns/commit/8284b8c302daa3792e582e89921cde4a69203f9c) resolver: store transport state in PoolContext ### 📊 Changes **9 files changed** (+417 additions, -462 deletions) <details> <summary>View changed files</summary> 📝 `crates/recursor/src/recursor.rs` (+5 -5) 📝 `crates/recursor/src/recursor_dns_handle.rs` (+7 -10) 📝 `crates/resolver/examples/custom_provider.rs` (+6 -1) 📝 `crates/resolver/src/config.rs` (+2 -232) 📝 `crates/resolver/src/name_server/mod.rs` (+1 -1) 📝 `crates/resolver/src/name_server/name_server.rs` (+151 -177) 📝 `crates/resolver/src/name_server/name_server_pool.rs` (+236 -19) 📝 `crates/resolver/src/resolver.rs` (+7 -9) 📝 `tests/integration-tests/tests/integration/name_server_pool_tests.rs` (+2 -8) </details> ### 📄 Description Mainly, store the transport state inside the `PoolContext`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:59:57 +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#3737
No description provided.