lokinet/llarp/handlers
Thomas Winget a91bb35dbf
Some Windows fixes (#1415)
* Should fix some windows service issues

* fix return condition inversion

* Add some Trace level logging

also make the logger actually respect the log level you set.

* event loop should not queue things to itself...

at present, logic thread queue continues until it is empty, so
queueing things onto itself is just wasteful.

* call_later(foreach thing) is better than foreach thing (call later)

also if you already queued those things but they have not happened yet,
there is no sense to queue them to happen again.

* do not queue read on write finish, only on read finish

* failure to start DNS server should be proper startup failure.

without the DNS server working lokinet is...kinda pointless, right?

* format

* don't queue stuff to logic thread if in logic thread
the thing that clears the queue...clears it.  So you're just delaying and adding overhead.

* windows unbound thread sleep instead of just busy-waiting

also clang-format decided I can't have a blank line for some reason...

* fix unbound async worker on windows
2020-10-21 09:06:43 -04:00
..
exit.cpp fix empty config case (#1400) 2020-10-09 11:39:39 -04:00
exit.hpp Refactor Addr -> IpAddress/SockAddr 2020-05-06 14:38:44 -06:00
null.hpp order packets when writing to network interface (#1372) 2020-10-08 07:59:01 -04:00
tun.cpp Some Windows fixes (#1415) 2020-10-21 09:06:43 -04:00
tun.hpp order packets when writing to network interface (#1372) 2020-10-08 07:59:01 -04:00