Files
firezone/rust/gui-client/src-tauri
Thomas Eizinger bb5cb1b5ad chore(gui-client): greet GUI instance upon connect (#9151)
The tunnel service of the GUI client can only handle one process at a
time. The OS however will happily connect multiple clients to the socket
/ pipe. They will simply idle until the previous process disconnects.

To avoid this situation, we introduce a `Hello` message from the tunnel
service to the GUI client. If the GUI client doesn't receive this
message within 5s, it considers the tunnel service be not responsive.

If our duplicate instance detection works as intended, users are not
expected to hit this.
2025-05-15 11:55:46 +00:00
..