Jeff
f57fc4e884
Merge pull request #738 from majestrate/fix-cmake-shellhooks
...
correct cmake paramter for shellhooks
2019-07-29 09:12:43 -04:00
Jeff Becker
9a8470bcc1
* const correctness
...
* use std::map's upper_bound to find many closer entries
* randomize key for exploration to allow many explore jobs in paralell
2019-07-29 09:08:40 -04:00
Jeff Becker
7c8c11a42a
correct cmake paramter for shellhooks
2019-07-29 08:14:35 -04:00
Jeff
af74ee6f70
Merge pull request #737 from majestrate/add-link-layer-delivery-feedback
...
Add link layer delivery feedback
2019-07-28 18:21:56 -04:00
Jeff
c08f8361a3
Merge pull request #732 from tewinget/path-build-status-messages
...
Adds Link-Relay Status Messages
2019-07-28 18:21:43 -04:00
Jeff
152d4b8412
Merge pull request #734 from majestrate/run-main-in-own-thread
...
run main in it's own thread and set its process name.
2019-07-28 18:03:55 -04:00
Jeff Becker
b0406e1a76
on logic queue overflow put job on timer instead
2019-07-28 13:13:52 -04:00
Jeff Becker
b8904ab0f4
fix compile for tests
2019-07-28 11:33:18 -04:00
Jeff Becker
4eff86d681
use size_t
2019-07-28 11:28:45 -04:00
Jeff Becker
835b334a59
* increase utp buffers
...
* disallow inbound traffic on outbound utp link
* const correctness
2019-07-28 11:26:38 -04:00
Jeff Becker
9a055947cb
make it compile
2019-07-28 09:20:08 -04:00
Jeff Becker
16e6ab2193
propagate all utp link errors
2019-07-28 09:00:12 -04:00
Jeff Becker
503bea19cd
make travis happy
2019-07-28 08:35:07 -04:00
Jeff
788ca463c2
Merge pull request #736 from jagerman/bootstrap-script-improvements
...
lokinet-bootstrap improvements
2019-07-26 15:35:19 -04:00
Jason Rhinelander
3a8fd5c9a7
lokinet-bootstrap improvements
...
- takes an optional second argument to control where to download
- print usage info if called with >2 arguments or an argument starting
with `-`
- Add `set -e` so if unchecked things fail (e.g. the mkdir) the script
fails.
2019-07-26 15:47:38 -03:00
Jeff Becker
822f529be8
add link layer delivery feedback
2019-07-26 12:19:31 -04:00
Jeff Becker
b29ec20ad4
try deferred resolve for exit handler
2019-07-26 12:19:08 -04:00
Jeff
4501156aff
Merge pull request #733 from majestrate/fix-crash-2019-07-26
...
fix crash of clients and propagate lookup failures
2019-07-26 11:17:53 -04:00
Jeff Becker
c1bf69f96f
run main in it's own thread and set its process name.
2019-07-26 08:55:08 -04:00
Jeff Becker
972d4f8672
fix crash of clients and propagate lookup failures
2019-07-26 08:11:56 -04:00
Thomas Winget
697ece64cc
make TransitHop self-destruct if path is invalidated
2019-07-25 19:54:10 -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
ce2ff2a93e
Merge pull request #731 from tewinget/minor-fixups
...
make travis happy again *and* don't break message sending
2019-07-25 15:52:12 -04:00
Thomas Winget
011abde5ec
make travis happy again *and* don't break message sending
2019-07-25 15:04:48 -04:00
Jeff
11783b9ccb
Merge pull request #730 from tewinget/minor-fixups
...
change log level of message send success
2019-07-25 14:49:24 -04:00
Thomas Winget
af2c960867
revert change that made travis happy because it broke things
2019-07-25 14:48:32 -04:00
Thomas Winget
bbb5339b33
add debug-level log message on path build success
2019-07-25 14:48:14 -04:00
Thomas Winget
5e0fc2bc71
change log level of message send success
2019-07-25 14:31:53 -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
Jeff
f7e05ad13a
Merge pull request #728 from tewinget/refactor-router-code
...
Refactor router code
2019-07-25 14:23:47 -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
Jeff
515b8f2b76
Merge pull request #725 from rjmalagon/master
...
Basic docs translations to spanish, more to go later
2019-07-23 09:45:57 -04:00
Jeff
f154c9a0d0
Merge pull request #721 from majestrate/fix-dht-2019-07-19
...
handle dht case
2019-07-22 16:27:25 -04:00
Jeff
dc259e339f
Merge pull request #708 from michael-loki/travis_windows
...
Test windows support in travis
2019-07-22 08:20:39 -04:00
Jeff
09bb708a0d
Merge pull request #720 from majestrate/make_hop_length_and_quantity_configurable
...
Make hop length and quantity configurable
2019-07-22 08:17:06 -04:00
Jeff
83745e7b3c
Merge pull request #719 from majestrate/dont-timeout-utp
...
only call utp_issue_deferred_acks before timing out sessions
2019-07-22 08:16:50 -04:00
Michael
67f71c074b
Introduce a couple more builds, fixup notifications maybe
2019-07-22 01:34:05 +01:00
Michael
82958de2d7
Tidy up cmake files
2019-07-22 00:58:45 +01:00
Michael
65af2c4266
Normalise build
2019-07-21 17:08:26 +01:00
Michael
52b9158a5a
fix test.rc
2019-07-21 16:57:12 +01:00
Michael
e32470ae5a
Skip 3 tests on windows
2019-07-21 16:57:12 +01: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
5da5c77104
Delete ev loop tests
2019-07-21 16:57:12 +01:00
Michael
ca4af6af89
fix test.rc
2019-07-21 16:57:12 +01:00
Michael
6ede15888e
Change manifest ids
2019-07-21 16:57:12 +01:00
Michael
edcaf8c25c
try actually reading the gtest docs
2019-07-21 16:57:12 +01:00
Michael
42b951aa80
Try to link shared again
2019-07-21 16:57:11 +01:00