![]() If there are multiple goroutines calling `namespace.WithNamespace` on a ctx that already had namespace, there will be a data race when `withTTRPCNamespaceHeader` calling `MD.Set()`. So we have to copy the md before using it. Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com> |
||
---|---|---|
.. | ||
context_test.go | ||
context.go | ||
grpc.go | ||
store.go | ||
ttrpc_test.go | ||
ttrpc.go | ||
validate_test.go | ||
validate.go |