From 867e616e8e9a2534b36a321265629484c5cf1feb Mon Sep 17 00:00:00 2001 From: iHsin Date: Thu, 18 Jun 2026 01:20:55 +0800 Subject: [PATCH] feat(hooks): add Protocol::Naive variant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lets the NaïveProxy inbound (wind-naive-inbound) tag connection hooks with its own protocol label. Co-Authored-By: Claude Opus 4.8 --- crates/wind-core/src/hooks/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wind-core/src/hooks/mod.rs b/crates/wind-core/src/hooks/mod.rs index 730035b..d4db537 100644 --- a/crates/wind-core/src/hooks/mod.rs +++ b/crates/wind-core/src/hooks/mod.rs @@ -103,6 +103,7 @@ impl fmt::Display for UserId { pub enum Protocol { Tuic, Socks5, + Naive, } /// Per-connection context handed to [`ConnectionHooks`].