Files
firezone/rust
Gabi e486339523 fix(snownet): properly cleanup connections before adding a new one (#3587)
This was causing some problems in my tests with connlib, when the client
re-created the connection and recieved the candidates before the offer
response, this *seems* like it made the client hang waiting for the
connection to happen, without failing it.

I couldn't find out why exactly the hang happens since it seems like the
remote candidates are added to the new connection and stun packets are
directed to the new connection, so it may be unrelated but I think it's
still right to clean this hashmap up.

---------

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-02-06 23:18:49 +00:00
..
2023-05-10 07:58:32 -07:00