Bug Fixes
- Fix data race in OnTrafficFromServer — The same
v1.Structpointer was sent toUpdateCacheChanneland returned to GatewayD via gRPC. TheUpdateCachegoroutine mutatedFieldswhile gRPC serialized them concurrently, corrupting responses under load. Fixed by cloning the struct withproto.Clonebefore sending to the channel. - Fix lint issues — Added checked type assertion for
proto.Cloneresult and wideneddepguardallow list to permitgoogle.golang.org/protobuf.
Full Changelog: v0.5.0...v0.5.1