Add Windows TLS engine

This commit is contained in:
nekohasekai
2026-08-30 17:41:40 +08:00
committed by 世界
parent 2bbff23640
commit 9471dde765
35 changed files with 6513 additions and 488 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func NewTransport(ctx context.Context, logger logger.ContextLogger, tag string,
}
managedTransport.epoch.Store(&transportEpoch{transport: inner})
return managedTransport, nil
case C.TLSEngineDefault, "go":
case "", C.TLSEngineGo:
cheapRebuild = true
default:
return nil, E.New("unknown HTTP engine: ", options.Engine)