Files
nomad/helper/pool
James Rasell 428f329cab rpc: Fix data race in yamux config modification for conn handling. (#25978)
The server RPC handler and RPC connection pool both use a shared
configuration object for custom yamux configuration. Both
sub-systems were modifying the shared object which could cause a
data race. The passed object is now cloned before being modified.

This changes also moves where the yamux configuration is cloned
and modified to the relevant constructor function. This avoids
performing a clone per connection handle or per new connection
generated in the RPC pool.
2025-06-05 08:05:46 +01:00
..