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/net
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
4 years ago
..
address_info.cpp Don't use std::optional::value() because f u macos 4 years ago
address_info.hpp Refactor Addr -> IpAddress/SockAddr 4 years ago
exit_info.cpp Removed RPI definition 4 years ago
exit_info.hpp Config file improvements (#1397) 4 years ago
ip.cpp make format 4 years ago
ip.hpp * rework exit codepath to allow multiple exits 4 years ago
ip_address.cpp Config file improvements (#1397) 4 years ago
ip_address.hpp dont poke routes if we have no exit (#1352) 4 years ago
ip_packet.cpp address feedback from jason 4 years ago
ip_packet.hpp Config file improvements (#1397) 4 years ago
ip_range.cpp * rework exit codepath to allow multiple exits 4 years ago
ip_range.hpp * rework exit codepath to allow multiple exits 4 years ago
ip_range_map.hpp Lns exits (#1407) 4 years ago
net.cpp remove llarp::StrEq 4 years ago
net.h sun fix 5 years ago
net.hpp * rework exit codepath to allow multiple exits 4 years ago
net_bits.hpp * rework exit codepath to allow multiple exits 4 years ago
net_if.hpp use lokimq workers instead of llarp:🧵:ThreadPool 4 years ago
net_int.cpp Move IPRange out of net.hpp; free up TruncateV6 etc. 4 years ago
net_int.hpp The Great Wall of Blame 4 years ago
route.cpp Some Windows fixes (#1415) 4 years ago
route.hpp initial route poking 4 years ago
sock_addr.cpp fix sockaddr win32 and collapse headers on the unix side 4 years ago
sock_addr.hpp fix sockaddr win32 and collapse headers on the unix side 4 years ago
uint128.hpp Config file improvements (#1397) 4 years ago