Commit Graph

3745 Commits

Author SHA1 Message Date
Jeff Becker
4206132ea1
use correct function from free bsd pthread 2019-07-10 18:03:52 -04:00
Jeff Becker
e0d8e34369
fix freebsd build 2019-07-10 12:46:21 -04:00
michael-loki
0cd9b4c380
Merge pull request #687 from michael-loki/config_env
Allow environment variable override of config
2019-07-09 21:42:31 +01:00
Jeff
777f2fefc6
Merge pull request #688 from michael-loki/thread_name
Add function to set threadname, and use from threadpool impl
2019-07-08 20:44:51 -04:00
Michael
b01e5accbb
Add function to set threadname, and use from threadpool impl 2019-07-09 01:06:22 +01:00
Michael
3ce90b678e
Allow override of the rest of the config 2019-07-09 00:29:43 +01:00
Michael
fbb83704a0
Allow override of some config via env variables 2019-07-09 00:29:43 +01:00
Michael
08d306f6e9
Have fromSection return void 2019-07-09 00:29:43 +01:00
Michael
937f28f75d
Move router config to be encapsulated 2019-07-09 00:29:43 +01:00
Jeff
7ce742622e
Merge pull request #685 from michael-loki/refactor_config_redux
Refactor config redux
2019-07-08 08:27:31 -04:00
Michael
6418c67f75
Set netid before doing anything else 2019-07-07 12:29:44 +01:00
Michael
661a8b6537
Fix macos build after rebase 2019-07-06 15:59:13 +01:00
Michael
f310160065
Fixup and add tests 2019-07-06 14:46:25 +01:00
Michael
2acb163083
Fix llvm 8 build 2019-07-06 14:46:25 +01:00
Michael
a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
This reverts commit 2996a7f29c, reversing
changes made to 10df3bd4b3.
2019-07-06 14:46:25 +01:00
Jeff
c15fc4c8fb
Merge pull request #684 from majestrate/fix-mac-os-tun-pi
Fix mac os tun pi
2019-07-05 11:50:15 -04:00
Jeff
ce034b3dff
make it work 2019-07-05 10:14:07 -04:00
Jeff Becker
6467d21ba0
* fix testnet codepath
* add packet info for osx
2019-07-05 10:13:58 -04:00
Jeff
7a4b48ca05
Merge pull request #682 from majestrate/fix-locking
don't lock when visiting links
2019-07-03 09:09:28 -04:00
Jeff Becker
fdfd8c6150
don't lock when visiting links 2019-07-03 08:42:11 -04:00
Jeff
b1fa0135ba
Merge pull request #681 from majestrate/fix-locking
fix locking types
2019-07-02 20:13:19 -04:00
Jeff
3b006e67e8
Merge pull request #680 from loki-project/api-docs
update LTRP docs
2019-07-02 15:16:27 -04:00
Jeff Becker
ec1910b8ca
remove threadpool.hpp
make link layer not use null lock and null mutex
2019-07-02 15:01:14 -04:00
Jeff
17c1ab689e
Update api_v0.txt 2019-07-02 14:51:17 -04:00
Jeff
0b4cb50ac1
Update readme.md 2019-07-02 11:29:28 -04:00
Jeff
2996a7f29c
Merge pull request #679 from tewinget/revert-config-refactor
Reverts #678 #677 and #669 with hashes:
2019-07-02 11:07:01 -04:00
Thomas Winget
d044d60101 Reverts #678 #677 and #669 with hashes:
10df3bd
766ece8
979f095

See those commits for further details
2019-07-02 11:02:20 -04:00
Jeff
10df3bd4b3
Merge pull request #678 from majestrate/disable-rpc
actually set config for network
2019-07-02 09:38:37 -04:00
Jeff Becker
191ebe32ce
actually set config for network 2019-07-02 09:33:36 -04:00
Jeff
766ece8355
Merge pull request #677 from majestrate/disable-rpc
disable rpc by default
2019-07-02 09:23:15 -04:00
Jeff Becker
a82be1d040
disable rpc by default 2019-07-02 09:19:28 -04:00
Jeff
979f095415
Merge pull request #669 from michael-loki/refactor_config
Refactor config
2019-07-02 09:09:10 -04:00
Michael
8c2d67f8f1
Fix tests 2019-07-02 10:06:29 +01:00
Michael
b51f7d8015
Convert to load config in config loader 2019-07-02 01:58:39 +01:00
Michael
bd78471dae
Move ini parser as well 2019-07-02 01:58:38 +01:00
Michael
00c237dc6d
Move config class to its own dir 2019-07-02 01:58:38 +01:00
Jeff
52314d81fa
Merge pull request #673 from michael-loki/unfuck_fslib
Re-import cppbackport
2019-07-01 20:17:13 -04:00
Michael
80d1e4aef9
Add in-source version of std::filesystem::permissions 2019-07-02 00:01:25 +01:00
Jeff
94cf18e3af
Merge pull request #676 from majestrate/utp-timeout-2019-07-01
relax timeouts for handshake and make format
2019-07-01 14:28:40 -04:00
Jeff Becker
0b090b671a
relax timeouts for handshake and make format 2019-07-01 14:06:17 -04:00
Jeff
d044de9e73
Merge pull request #675 from majestrate/utp-timeout-2019-07-01
pump write when handshaking
2019-07-01 13:56:33 -04:00
Jeff Becker
915b11b0bb
ping on send idle not recv idle 2019-07-01 13:53:08 -04:00
Jeff Becker
abb1924eef
pump write when handshaking 2019-07-01 13:48:46 -04:00
Jeff
b40b4bdce9
Merge pull request #674 from majestrate/utp-timeout-2019-07-01
close after 30 seconds of dead
2019-07-01 13:37:04 -04:00
Jeff Becker
45384deaa0
close after 30 seconds of dead 2019-07-01 13:21:34 -04:00
Michael
59e8a7316f
Revert "Merge pull request #668 from michael-loki/remove_cppbackport"
This reverts commit 33142d5005, reversing
changes made to 408a652a01.
2019-07-01 10:33:03 +01:00
Jeff
01b3c0363c
Merge pull request #672 from majestrate/master
track dropping of messages in metrics
2019-06-28 15:32:53 -04:00
Jeff Becker
eaab454e80
track drop in metrics 2019-06-28 15:28:59 -04:00
Jeff
e06882cf89
Merge pull request #670 from majestrate/master
add more metrics
2019-06-28 15:07:36 -04:00
Jeff
33142d5005
Merge pull request #668 from michael-loki/remove_cppbackport
Remove cppbackport from vendor dir
2019-06-28 15:03:01 -04:00