Commit Graph

4662 Commits (eb5184ee09bf9f5ae9b3a8eb7efe89b7eb77c08d)
 

Author SHA1 Message Date
Jason Rhinelander d3082fffc9 Lower the ev tick interval to 10ms
When there's nothing waiting we wait this long unconditionally, but that
can add a lot of latency across a path.

There are likely better ways to handle this via libuv's run handlers,
but this addresses the latency until we figure that out.
5 years ago
Stephen Shelton 1666498405 Replace bencode_write_version_entry with a more general-purpose function for writing bencoded dictionary entries 5 years ago
Stephen Shelton fd02e3e149 Stub out KeyManager class 5 years ago
Jeff 99d76280be
Merge pull request #917 from jagerman/remove-resolveConf
Remove shell globbing of path
5 years ago
Jeff a188291055
Merge pull request #919 from jagerman/avx2-detection
Fix runtime AVX2 detection
5 years ago
Jason Rhinelander cdca34e628 Fix runtime AVX2 detection
The feature flags come via __cpuid_count instead of __cpuid

Also removes a couple unneeded headers.
5 years ago
Jason Rhinelander f54740fa85 Don't pointlessly set conffname back to itself 5 years ago
Jason Rhinelander e0340e86b2 clang-format fixes 5 years ago
Jason Rhinelander 2bdde18558 Remove shell globbing of path
resolvePath was leaking memory (the returned char * from realpath was
never freed), but upon closer inspection resolvePath doesn't seem right:
shell/glob/~ expansion is the job of the shell, not the argument (but
worse, if you pass it something like '~' (quoted) it would expand, which
is wrong.

Also de-duplicate some code.
5 years ago
Jason Rhinelander d96d33329b
Merge pull request #912 from majestrate/logic-thread-fix-2019-11-13
fix logic thread behavior
5 years ago
Jeff 8f6a18f411
Merge pull request #915 from notlesh/fix-session-key-mismatch-2019-11-19
Fix #911: Drop new inbound IWP sessions when the first packet can't be handled
5 years ago
Jason Rhinelander 6524563d33
Merge pull request #897 from majestrate/bencode-seek-for-version-2019-11-03
seek for version and set it before deserializing
5 years ago
Stephen Shelton b5b8cf0745 Reduce log level of IWP session issues as they may be encountered frequently and normally 5 years ago
Stephen Shelton 9eed243346
Merge pull request #860 from notlesh/null_mutex_clarity
Null mutex clarity (via comments / log statement)
5 years ago
Stephen Shelton 46fe64c2e6 make format (and git commit --amend to re-trigger CI) 5 years ago
Stephen Shelton ef2670dfb4 Drop new inbound IWP sessions when the first packet can't be handled 5 years ago
Jeff Becker 168d25f244
add warning when trying to queue onto full logic thread 5 years ago
Jeff Becker b34caa3e26
make unit tests pass for iwp 5 years ago
Jeff Becker 1a864832c8
make format 5 years ago
Jeff Becker b31d7b75fc
Merge remote-tracking branch 'origin/dev' into logic-thread-fix-2019-11-13 5 years ago
Jeff Becker f16c9f9b5d
iot seems that logic thread didn't work the way i remember it should
make logic work the way it should
5 years ago
Jeff 17efd37d37
Merge pull request #873 from tewinget/path-queues
Add per-path queues, prioritize control messages over traffic
5 years ago
Jeff Becker 3c8e148372
prevent double free crap with shared_ptr 5 years ago
Thomas Winget 5ce6ed5134
fixes some logical errors in per-path queues 5 years ago
Thomas Winget 23a9773e1e
remove our paths from outbound queues 5 years ago
Thomas Winget ef1a5652ef
remove our paths from outbound queues 5 years ago
Thomas Winget 17de3f2478 do...while; make format; remove erroneous GUARDED_BY 5 years ago
Thomas Winget 12adff570d fix seg fault, fix uninitialized static member 5 years ago
Thomas Winget 75512b1b58 ban zero id for pathid; clarity and cleanup 5 years ago
Thomas Winget 9d3e7d349c Add per-path queues, prioritize control messages over traffic 5 years ago
Jeff c05d7b69fc
Merge pull request #904 from majestrate/try-fixing-path-shit-again-2019-11-05
make path builds work
5 years ago
Jeff Becker 8d44eefead
make router give time directly 5 years ago
Jeff Becker 2c5561fc3c
make format 5 years ago
Jeff Becker b589ea96ff
remove printf 5 years ago
Jeff Becker 7ee026fa50
make path builds work again 5 years ago
Jeff 7a295a9eab
Merge pull request #903 from majestrate/fix-cmake-crypto-flags
set NON_PC_TARGET internally automatically
5 years ago
Jeff Becker 9b99752276
i hate windows 5 years ago
Jeff Becker 8bac293dc7
fix patching command 5 years ago
Jeff Becker defc12734d
re-add windows to CI pipeline just allow fail 5 years ago
Jeff Becker d50e25d05d
disable windows native in CI 5 years ago
Jeff Becker 70ceca1e72
disable gtest when no unit tests 5 years ago
Jeff Becker 6bd593f3e2
move it more 5 years ago
Jeff Becker 329c9d1044
move more stuff 5 years ago
Jeff Becker a5b1379b88
exclude debian from setting CRYPTO_FLAGS 5 years ago
Jeff Becker c3302018ba
more 5 years ago
Jeff Becker e3724577d3
detect properly for mobile 5 years ago
Jeff Becker ea7884231d
move it 5 years ago
Jeff Becker 01dbd329bd
add forgotten file 5 years ago
Jeff Becker 9d0d96b70f
get rid of NON_PC_TARGET 5 years ago
Jeff 0b70bbde1a
Merge pull request #901 from jagerman/silence-warnings
Silence unused variable warnings in non-debug build
5 years ago