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
fcf0ae2b9e
prune unused files.
5 years ago
Jason Rhinelander
638fb25b47
Put version info into a compiled file
...
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).
Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jeff Becker
8455d5d1cf
more cleanup
5 years ago
Jeff Becker
581306e35f
prevent crash on exit
5 years ago
Jeff Becker
f56e543d75
add deadlock checker and revert bencode change from long ago
5 years ago
Jeff Becker
dd48b149ca
make job queue size configurable
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
jeff
2425c2ba03
update comment
5 years ago
jeff
cdb5610d90
close async
5 years ago
jeff
58a25602f5
more fixes, implemenmt missing functions
5 years ago
jeff
c26b67c379
finish wiring up jni shizz
5 years ago
jeff
52757fef0e
Merge remote-tracking branch 'micheal/background_mode' into vpn-api-2019-10-03
5 years ago
Michael
15cb49c9bd
Introduce --background to only start JSON RPC
...
fixes #853
5 years ago
Jeff Becker
e3bb59707e
more
5 years ago
Jeff Becker
d11321366c
make it compile
5 years ago
Jeff Becker
12314e8d00
ensure no crash on quit
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Michael
0950571313
Move metrics to subdirectory
5 years ago
Michael
4d8fe2a8a8
Move meta programming to subdirectory
5 years ago
Michael
1aec0dfa2b
Move logging to subdirectory
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Jeff
183ec25717
Merge pull request #729 from majestrate/fix-android-2019-07-24
...
make android compile again
5 years ago
Thomas Winget
baf8019fe5
Refactor Router code into more classes
...
This commit refactors functionality from the Router class into separate,
dedicated classes.
There are a few behavior changes that came as a result of discussion on
what the correct behavior should be.
In addition, many things Router was previously doing can now be provided
callback functions to alert the calling point when the asynchronous
action completes, successfully or otherwise.
5 years ago
Jeff Becker
43cb62af16
fix android compile, have makefile pull in libuv for cmake on android
5 years ago
Jeff Becker
16e20a9e79
try fixing bootstrap
5 years ago
Jeff
284a352dda
fix previous commit
5 years ago
Jeff
b9cdfd116e
correct worker threads amounts
5 years ago
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Jeff Becker
749ee7cb9f
make it compile
5 years ago
Jeff Becker
fcc3c05124
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Michael
488695047f
Remove redundant else blocks
5 years ago
Jeff Becker
edd3611166
correct name
5 years ago
Jeff Becker
ec6a1cfddc
make it compile
5 years ago
Jeff Becker
84407b3557
make it compile
5 years ago
Jeff Becker
b9bcc2b775
make threadpool consice
5 years ago
Michael
3ce90b678e
Allow override of the rest of the config
5 years ago
Michael
937f28f75d
Move router config to be encapsulated
5 years ago
Michael
f310160065
Fixup and add tests
5 years ago
Michael
a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
...
This reverts commit 2996a7f29c
, reversing
changes made to 10df3bd4b3
.
5 years ago
Thomas Winget
d044d60101
Reverts #678 #677 and #669 with hashes:
...
10df3bd
766ece8
979f095
See those commits for further details
5 years ago
Michael
b51f7d8015
Convert to load config in config loader
5 years ago
Michael
00c237dc6d
Move config class to its own dir
5 years ago
Michael
fedf6cb8e0
Send netid to metrictank
5 years ago
Rick V
5092a1fa85
restore llarp_make_ev_loop() as we only use libuv now; separate function is now ded code
5 years ago
Michael
c0525f2ea3
Move local publishers to their own files
5 years ago
Jeff Becker
9ec41b8831
update RC expiration logic, lookup more often and remove stale entries
5 years ago
Jeff Becker
223f2702d3
Merge branch 'fix-big-ooooofff'
5 years ago
Michael
75430a234c
Convert to use memFn
5 years ago
Jeff Becker
9deafa4cb8
use libuv
5 years ago