You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/apple
Jason Rhinelander ec91a6db05
ReconfigureDNS fixes, fixes macos exit mode
- ReconfigureDNS wasn't returning the old servers; made it void instead
  (the Apple code can just store a copy of the original upstream
  servers instead).
- Reconfiguring DNS reset the unbound context but didn't replace it, so
  a Down()/Up() would crash.
- Simplify Resolver() destructor to just call Down(), and make it final
  just so that no one tries to inherit from us (so that calling a
  virtual function from the destructor is safe).
- Rename CancelPendingQueries() to Down(); the former cancelled but also
  shut down the object, so the name seemed a bit misleading.
- Rename SetInternalState in Resolver_Base to ResetResolver, so that we
  aren't conflicting with ResetInternalState from Endpoint (which was a
  problem because TunEndpoint inherited from both; it could be resolved
  through the different argument type if we removed the default, but
  that seems gross).
- Make Resolver use a bare unbound context pointer rather than a
  shared_ptr; since Resolver (now) entirely manages it already we don't
  need an extra management layer, and it saves a bunch of `.get()`s.
2 years ago
..
CMakeLists.txt changeset for windows port 2 years ago
DNSTrampoline.h macOS system extension support 2 years ago
DNSTrampoline.m Set various -W flags on apple 2 years ago
PacketTunnelProvider.m Set various -W flags on apple 2 years ago
context.hpp Reformat 3 years ago
context_wrapper.cpp macos compilation fixes 2 years ago
context_wrapper.h macOS system extension support 2 years ago
route_manager.cpp ReconfigureDNS fixes, fixes macos exit mode 2 years ago
route_manager.hpp ReconfigureDNS fixes, fixes macos exit mode 2 years ago
vpn_interface.cpp macos compilation fixes 2 years ago
vpn_interface.hpp macos compilation fixes 2 years ago
vpn_platform.cpp match io loop event order on windows/apple to match linux. 3 years ago
vpn_platform.hpp macos compilation fixes 2 years ago