Commit Graph

240 Commits

Author SHA1 Message Date
jeff
ac2a2aed1d gut libutp and finish making things compile and pass tests 2019-09-12 14:19:25 -04:00
Jeff Becker
e3bb59707e
more 2019-09-05 17:28:50 -04:00
Jeff Becker
ab64c0d013
Merge remote-tracking branch 'micheal/abort_mutex' 2019-09-04 07:58:48 -04:00
Jeff Becker
1adae338ce
Merge remote-tracking branch 'origin/master' 2019-09-04 07:58:02 -04:00
Michael
23d76e3600
Abort when a null mutex is locked from a different thread (in debug mode only) 2019-09-03 23:25:37 +01:00
Michael
edd0ec398f
Move thread stuff to subdirectory 2019-09-03 20:52:28 +01:00
Michael
0950571313
Move metrics to subdirectory 2019-09-03 20:52:28 +01:00
Michael
4d8fe2a8a8
Move meta programming to subdirectory 2019-09-03 20:52:28 +01:00
Michael
1aec0dfa2b
Move logging to subdirectory 2019-09-03 20:52:27 +01:00
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things 2019-09-03 11:56:56 -04:00
Rick V
55612bc032
ok use clang-format v8 2019-08-26 03:32:40 -05:00
Rick V
2000826a35
override print 2019-08-26 03:32:40 -05:00
Rick V
50d4b4b40c
fix log colours on old win32 platforms 2019-08-26 03:32:39 -05:00
Michael
094b697b01
Replace StatusObject with underlying JSON type 2019-08-19 10:33:26 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass 2019-08-12 16:52:58 +01:00
Michael
d1990b5e93
Fix suspicious thread-unsafety 2019-08-08 00:18:56 +01:00
Jeff
10d7e7cb77
Merge branch 'master' into master 2019-08-05 07:59:30 -04:00
Michael
f9e9227e19
Fix gcc trunk warnings 2019-08-02 10:29:08 +01:00
Rick V
8cf5f2c9a5 fix thread naming on windows 2019-08-01 23:42:32 -05:00
Rick V
f6c97091fd
clang-format 2019-08-01 22:25:48 -05:00
Rick V
609a9a1c31
fix netbsd 2019-08-01 21:39:51 -05:00
Rick V
a0a14b97a0
really fix #689 this time 2019-08-01 21:39:50 -05:00
Rick V
3782479276
fix sun 2019-08-01 21:39:49 -05:00
Michael
a062186f2d
or not 2019-07-29 23:23:55 +01:00
Michael
ee2dd0fb68
Use __cpp_lib_filesystem 2019-07-29 21:44:14 +01:00
Michael
3c2f7792c2
Fixup 2019-07-29 21:32:29 +01:00
Michael
614b669fd5
Abandon debian 2019-07-29 21:31:26 +01:00
Michael
df498c7bf8
try to make some windows 2019-07-29 21:31:26 +01:00
Jeff Becker
b0406e1a76
on logic queue overflow put job on timer instead 2019-07-28 13:13:52 -04:00
Thomas Winget
38fd0552d3 Adds Link-Relay Status Messages
Success case:
  - the path endpoint creates and sends a LR_StatusMessage upon
    successful path creation

Failure case:
  - an intermediate hop creates and sends a LR_StatusMessage upon
    failure to forward the path to the next hop for any reason

Both cases:
  - transit hops receive LR_StatusMessages and add a frame
    to them reflecting their "status" with respect to that path
  - the path creator receives LR_StatusMessages and decrypts/parses
    the LR_StatusRecord frames from the path hops.  If all is good,
    the Path does as it would when receiving a PathConfirmMessage.
    If not, the Path marks the new path as failed.

LR_StatusMessage is now used/sent in place of PathConfirmMessage
2019-07-25 17:46:56 -04:00
Jeff
183ec25717
Merge pull request #729 from majestrate/fix-android-2019-07-24
make android compile again
2019-07-25 14:24:13 -04:00
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.
2019-07-25 14:11:02 -04:00
Jeff Becker
43cb62af16
fix android compile, have makefile pull in libuv for cmake on android 2019-07-24 11:25:40 -04:00
Jeff Becker
909e0399d6
make android compile 2019-07-24 10:17:54 -04:00
Michael
53bccc4f23
try to ensure on windows, but don't fail 2019-07-21 16:57:12 +01:00
Michael
9b40c0eb67
Fixup some tests 2019-07-21 16:57:12 +01:00
Michael
4806e52f62
Try to silence some warnings to reduce noise 2019-07-21 16:57:11 +01:00
Michael
5c064d7ddc
Silence spammy threadpool warning 2019-07-21 16:57:11 +01:00
Michael
302c0ff18c
fixup printer.cpp 2019-07-21 16:57:11 +01:00
Michael
533d12e52e
more fs.cpp 2019-07-21 16:57:11 +01:00
Michael
3b17e65b0b
Fix more headers for fs.cpp 2019-07-21 16:57:11 +01:00
Michael
4b3920006e
fix str.cpp 2019-07-21 16:57:11 +01:00
Michael
0326f2ea56
fix fs.cpp 2019-07-21 16:57:11 +01:00
Michael
ac8624698d
Fix some string_view problems 2019-07-21 16:57:11 +01:00
Michael
36c89363b3
try to fix pid_t issue 2019-07-21 16:57:11 +01:00
Michael
0cbd7b3116
Fixup fs 2019-07-21 16:57:10 +01:00
Michael
5cef2865bd
Fix Ubuntu builds 2019-07-15 22:46:57 +01:00
Jeff Becker
dc87b6dc6b
use correct uint128 functions when doing endian flipping 2019-07-12 10:06:56 -04:00
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 2019-07-12 09:53:52 -04:00
Jeff
1a145ea515
Merge pull request #697 from majestrate/fix-freebsd-pthread
typo fix
2019-07-12 09:50:37 -04:00