containerd/namespaces
Li Yuxuan a3a30635ef namespace: Copy ttrpc metadata before setting header
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>
2019-08-09 13:16:29 +08:00
..
context_test.go Licence header added 2018-02-19 10:32:26 +09:00
context.go Add ttrpc namespace support 2019-06-04 15:21:10 +00:00
grpc.go Switch from x/net/context to context 2018-04-24 14:33:34 -07:00
store.go Add cgroup delete opt for ns deletion 2019-07-01 15:01:02 -04:00
ttrpc_test.go namespace: Copy ttrpc metadata before setting header 2019-08-09 13:16:29 +08:00
ttrpc.go namespace: Copy ttrpc metadata before setting header 2019-08-09 13:16:29 +08:00
validate_test.go Licence header added 2018-02-19 10:32:26 +09:00
validate.go Licence header added 2018-02-19 10:32:26 +09:00