[PR #2041] [MERGED] Optimized shutdown_gracefully() #2777

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2041
Author: @caobug
Created: 10/1/2023
Status: Merged
Merged: 10/5/2023
Merged by: @djc

Base: mainHead: shutdown_gracefully


📝 Commits (2)

📊 Changes

6 files changed (+40 additions, -79 deletions)

View changed files

📝 Cargo.lock (+1 -10)
📝 Cargo.toml (+1 -1)
📝 crates/server/Cargo.toml (+1 -1)
📝 crates/server/src/server/https_handler.rs (+3 -3)
📝 crates/server/src/server/quic_handler.rs (+3 -3)
📝 crates/server/src/server/server_future.rs (+31 -61)

📄 Description

Doesn't move ownership, allowing the owner to determine the ServerFuture's lifecycle.


🔄 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/2041 **Author:** [@caobug](https://github.com/caobug) **Created:** 10/1/2023 **Status:** ✅ Merged **Merged:** 10/5/2023 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `shutdown_gracefully` --- ### 📝 Commits (2) - [`8b885ed`](https://github.com/hickory-dns/hickory-dns/commit/8b885edf7b21e5cd9cf51dccf526401d02343c24) Optimized shutdown_graceously() - [`ae0462c`](https://github.com/hickory-dns/hickory-dns/commit/ae0462caefb57161ee9e46d9dbdaac22691885d6) fixed fmt error. ### 📊 Changes **6 files changed** (+40 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+1 -10) 📝 `Cargo.toml` (+1 -1) 📝 `crates/server/Cargo.toml` (+1 -1) 📝 `crates/server/src/server/https_handler.rs` (+3 -3) 📝 `crates/server/src/server/quic_handler.rs` (+3 -3) 📝 `crates/server/src/server/server_future.rs` (+31 -61) </details> ### 📄 Description Doesn't move ownership, allowing the owner to determine the ServerFuture's lifecycle. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:07:38 +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#2777
No description provided.