feat: sync multilayer td integration
This commit is contained in:
parent
20a310f6ca
commit
766c5db992
491 changed files with 26235 additions and 35340 deletions
|
|
@ -5,7 +5,7 @@ import "context"
|
|||
// withClientDriftMetadata 只在调用方已经用 constructor drift 证明客户端来源时
|
||||
// 补最小 client 类型。它不是 unknown fallback;不能在普通裸 RPC 上调用。
|
||||
// DrKLO Android 的 client-private constructor 只能证明 Android 兼容路径,
|
||||
// 不能替代 invokeWithLayer/auth_keys/authorizations 里的真实 layer。
|
||||
// 不能替代 invokeWithLayer 或同一 logical session 已冻结的真实 Layer 证据。
|
||||
func (r *Router) withClientDriftMetadata(ctx context.Context, typ ClientType) context.Context {
|
||||
if typ == ClientTypeUnknown || ClientTypeFrom(ctx) != ClientTypeUnknown {
|
||||
return ctx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue