Files
firezone/rust
Thomas Eizinger 4f4f374a18 fix(snownet): replace Allocation if credentials to relay change (#3590)
When a relay restarts, its credentials change but the socket we use to
connect to it might not. Because we upsert `Allocation`s within a
`snownet::Node` based on the socket, such a change is currently not
picked up.

Instead, we now check whether an existing allocation uses the same
credentials and if it doesn't we throw the old one away and use the new
one instead.
2024-02-07 21:31:36 +00:00
..
2023-05-10 07:58:32 -07:00