Open HRogge opened 11 months ago
The Mux-router function GetRoutes() returns the user a direct "reference" to the internal map, which is NOT a copy. This defeats the purpose of the locking mechanism in the router.
Should be fixed by #497
hmm... now that I look at GetRoute(), it also leaks access to the lock-protected data...
The Mux-router function GetRoutes() returns the user a direct "reference" to the internal map, which is NOT a copy. This defeats the purpose of the locking mechanism in the router.