Files
firezone/rust
Jamil 3bb4857f5f fix(apple): Don't close fd on disconnect (#1965)
When path.status changes to `.unsatisfied`, we call `disconnect()`. This
was closing the tunnel `fd`, causing the PacketTunnelProvider interface
to go down. Then, when `connect()` was being called later, the `fd` was
still closed.

This PR simply removes the `close(fd)` call and assumes the
PacketTunnelProvider will do that appropriately.


After some more discussion with @conectado we determined that boringtun
and webrtc-rs probably handle the edge cases needed by `bumpSockets` and
`disableSomeRoamingForBrokenMobileSemantics`, so those are removed as
well.

Refs firezone/product#656
2023-09-01 16:56:12 +00:00
..
2023-05-10 07:58:32 -07:00