Skip to content

fix(record_detect): use configured network type instead of hardcoded tcp#26

Open
iliyian wants to merge 1 commit intoXTLS:mainfrom
iliyian:main
Open

fix(record_detect): use configured network type instead of hardcoded tcp#26
iliyian wants to merge 1 commit intoXTLS:mainfrom
iliyian:main

Conversation

@iliyian
Copy link

@iliyian iliyian commented Feb 11, 2026

The dial call in DetectPostHandshakeRecordsLens was hardcoded to "tcp", ignoring the network type specified in the config. This now uses config.Type to respect the intended protocol.

Fixes XTLS/Xray-core#5675

The dial call in DetectPostHandshakeRecordsLens was hardcoded to "tcp",
ignoring the network type specified in the config. This now uses
config.Type to respect the intended protocol.
Copy link

@qwerttvv qwerttvv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

简单测试通过

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.

Reality 探测逻辑硬编码 "tcp" 导致 UDS dest 下抗检测失效

2 participants