[PR #2648] [MERGED] CachingClient: Move query depth counter to stack #3201

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2648
Author: @divergentdave
Created: 12/6/2024
Status: Merged
Merged: 12/7/2024
Merged by: @djc

Base: mainHead: david/caching-client-cname-depth


📝 Commits (1)

  • 0ae39b1 CachingClient: Move query depth counter to stack

📊 Changes

1 file changed (+34 additions, -26 deletions)

View changed files

📝 crates/resolver/src/caching_client.rs (+34 -26)

📄 Description

This fixes query depth tracking in CachingClient so that each query tracks depth independently, rather than sharing one counter in the client.


🔄 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/2648 **Author:** [@divergentdave](https://github.com/divergentdave) **Created:** 12/6/2024 **Status:** ✅ Merged **Merged:** 12/7/2024 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `david/caching-client-cname-depth` --- ### 📝 Commits (1) - [`0ae39b1`](https://github.com/hickory-dns/hickory-dns/commit/0ae39b170dfe7e9bfe56423829a2faafa2f0e6d1) CachingClient: Move query depth counter to stack ### 📊 Changes **1 file changed** (+34 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `crates/resolver/src/caching_client.rs` (+34 -26) </details> ### 📄 Description This fixes query depth tracking in `CachingClient` so that each query tracks depth independently, rather than sharing one counter in the client. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:30:53 +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#3201
No description provided.