Commit Graph

59 Commits (9ccaed71a5d94e2485e465e8e56e4fed10b05f81)

Author SHA1 Message Date
Jeff Becker d2d109e92c
llarp_time_t is now using std::chrono 4 years ago
Jeff Becker 7aa1b2c27c
monotonic time and run testnet at 20% realtime 4 years ago
Jeff Becker c6d77e72f2
fix up tcp connection logic 4 years ago
Jeff Becker 989146f63a
handle write failure 4 years ago
Jeff Becker c38c055488
return result 4 years ago
Jeff Becker 42f721d691
don't queue on full write queue 4 years ago
Jeff Becker 6d42b5f997
reduce logic calls 4 years ago
Jeff Becker 4126d307b3
dont close timers on closeall 4 years ago
Jeff Becker 8b8d636ded
make format 5 years ago
Thomas Winget 55b44cfc13 fix derp nested function call and derp merge error 5 years ago
Thomas Winget 71bb0dd520 implement timers using libuv
So far only a bit of the code using timers has been modified to use
the new libuv-based timers.  Also only the non-Windows case has been
implemented.  Seems to be working though, so it's a good time to commit.
5 years ago
Jeff Becker c4f08e5145
finish remaining changes 5 years ago
Jeff Becker 95eee4081a trypushback 5 years ago
Jeff Becker cdfdfa1068 use thread queue 5 years ago
Jeff Becker 8455d5d1cf more cleanup 5 years ago
Jeff Becker cec36b62b5 make logic and net thread one in the same 5 years ago
Jeff Becker 847ab3a47e
make it compile 5 years ago
Jeff Becker 1f83fdb190
fix previous commit 5 years ago
Jeff Becker 3c85691f81 limit calls to pumpll such that it gets called fast enough but not too much under load 5 years ago
Jason Rhinelander 5d8f547d33 Set tun to non-blocking
If we can't write to it we want failure, not blocking.
5 years ago
Thomas Winget 6d506302dc Show number of logic thread jobs in debug builds 5 years ago
Thomas Winget 6acf7bff7e Track and log UV event loop ticks in debug builds 5 years ago
Jeff Becker 6f95fbfece
work in progress 5 years ago
Jeff Becker 56dce90de9
add trace log level for tracking logic thread jobs 5 years ago
Jeff Becker d7f09a365d
contention killer 5 years ago
Jeff Becker 7ee026fa50
make path builds work again 5 years ago
Jeff Becker e25356c035
use <= not == 5 years ago
Jeff Becker 89e5b6b4cc
try fixing leak 5 years ago
Jeff Becker 2134355a3a
fix event loop tcp connections so they are thread safe 5 years ago
jeff 788bc0f912 Merge remote-tracking branch 'upstream/dev' into ed25519-signing
also stop using libuv's uv_loop_new as it is deprecated
5 years ago
jeff b7601a6236 call read handler in logic thread 5 years ago
jeff 3c1d5518d8 fix windows port and make it compile 5 years ago
jeff 14c9ef15ed try calling stuff in logic thread from event loop 5 years ago
Jeff Becker e3bb59707e
more 5 years ago
Jeff Becker 4bf6882c8a
more async cryptography 5 years ago
Jeff Becker 1d32e6a28f
silence clang errors again 5 years ago
Jeff Becker aea4542edd
more 5 years ago
Jeff ecf3c37d2e
Merge pull request #768 from majestrate/sane-limits
Sane limits
5 years ago
Michael 40aabd6d92
Use the right version of clang-tidy 5 years ago
Michael 0a1620aff2
make format 5 years ago
Michael 16cdfbd5f0
clang-tidy modernize pass 5 years ago
Jeff Becker a1fff96a1b
limit connections in outbound session maker 5 years ago
Michael 84601fa474
Make format 5 years ago
Jeff 10d7e7cb77
Merge branch 'master' into master 5 years ago
Michael c429f0cec9
Jeff's fixes 5 years ago
Michael f9e9227e19
Fix gcc trunk warnings 5 years ago
Rick V f6c97091fd
clang-format 5 years ago
Jeff Becker f48754c45d
make hop count and length configurable 5 years ago
Jeff Becker 9820315337
=default 5 years ago
Jeff Becker 53d2034a73
fix up libuv close logic 5 years ago