Skip to content

feat(hooks): add Protocol::Naive variant#30

Merged
Itsusinn merged 1 commit into
mainfrom
feat/protocol-naive
Jun 17, 2026
Merged

feat(hooks): add Protocol::Naive variant#30
Itsusinn merged 1 commit into
mainfrom
feat/protocol-naive

Conversation

@Itsusinn

Copy link
Copy Markdown
Member

Adds a Naive variant to wind_core::hooks::Protocol so a NaïveProxy
CONNECT inbound can label its connection hooks (ConnInfo) with its own
protocol, alongside Tuic and Socks5.

Non-breaking: the enum is only constructed (never matched exhaustively)
within wind, so adding a variant doesn't affect existing crates.

Needed by the downstream wind-naive-inbound crate.

🤖 Generated with Claude Code

Lets the NaïveProxy inbound (wind-naive-inbound) tag connection hooks
with its own protocol label.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Itsusinn Itsusinn merged commit f5c9198 into main Jun 17, 2026
13 checks passed
@Itsusinn Itsusinn deleted the feat/protocol-naive branch June 17, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant