Fix tls-spoof

This commit is contained in:
世界
2026-04-17 16:51:53 +08:00
parent 00f0cc9d0f
commit d2fd2ab794
21 changed files with 985 additions and 243 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func (c *STDClientConfig) STDConfig() (*STDConfig, error) {
}
func (c *STDClientConfig) Client(conn net.Conn) (Conn, error) {
if c.recordFragment {
if c.fragment || c.recordFragment {
conn = tf.NewConn(conn, c.ctx, c.fragment, c.recordFragment, c.fragmentFallbackDelay)
}
conn, err := applyTLSSpoof(conn, c.spoof, c.spoofMethod)