michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Rick V
81e88ab351
wtf jeff
2019-04-19 12:36:45 -05:00
Jeff Becker
5d7618cf02
try interchanging read / write oder on kqueue
2019-04-19 09:57:59 -04:00
Jeff Becker
544595bdef
use pipe and not pipe2
2019-04-19 09:43:51 -04:00
Jeff Becker
9503cc66f0
add disk worker based file flusher logger
...
make format
remove package.json
2019-04-16 09:20:48 -04:00
Jeff Becker
c838048629
Merge remote-tracking branch 'origin/master'
2019-04-13 12:46:15 -04:00
Jeff
7a83f71713
re-animate paths
2019-04-13 10:32:07 -04:00
Rick V
4a6b617d0d
refactor sun evloop
2019-04-12 19:54:20 -05:00
Rick V
7036dd1756
freebsd has this too;
2019-04-11 16:10:52 +00:00
Rick V
a9181e27a4
fix non-linux
2019-04-11 16:07:41 +00:00
Jeff
bcb5933fc9
ooofff
2019-04-10 11:42:36 -04:00
Jeff
784a25634b
exit tun loop in destructor
2019-04-10 11:32:29 -04:00
Jeff
c45a3201c5
disable llarp_ev_pkt_pipe on win32
2019-04-10 11:26:50 -04:00
Michael
a8bf5beb97
Fixup build on macOS
2019-04-10 08:16:53 -04:00
Jeff Becker
3da6551e82
make android compile
2019-04-08 11:54:19 -04:00
Jeff Becker
ac69213dd7
unit tests for llarp_ev_pkt_pipe
2019-04-08 10:04:58 -04:00
Jeff Becker
e178a70929
use shared_ptr for event loop
2019-04-08 08:01:52 -04:00
Jeff
3715c28616
Merge pull request #483 from loki-project/staging
...
Staging
2019-04-03 15:18:13 -04:00
Jeff
94f87c3371
kqueue stuff
2019-04-03 10:42:45 -04:00
Rick V
1041545dd3
only close event loop set fd once
...
this seemed to fix the endless crashes on windows
since we _already_ deal with it in llarp_ev_loop::stop()
2019-03-31 19:25:29 -05:00
Rick V
8031156e53
remove dead code
2019-03-27 00:57:49 -05:00
Rick V
07e5978144
only pick one event loop on sol2
2019-03-26 21:20:58 -05:00
Rick V
bbba2c0eea
improve windows select loop
...
add generic svr4 poll(2) event loop
2019-03-26 19:56:34 -05:00
Rick V
2d4d731876
winsock2 nit
2019-03-25 13:37:11 -05:00
Jeff
6187f7db4f
Merge pull request #440 from majestrate/master
...
staging
2019-03-25 14:30:09 -04:00
Rick V
67845e342a
distinguish good solaris from bad solaris
2019-03-25 12:03:52 -05:00
Jeff Becker
d4cb6808ec
more
2019-03-25 11:41:37 -04:00
Rick V
9c2a280988
well i'm a fucking idiot
...
(Why would i have a DHCP lease _before_ i connect a media cable?)
2019-03-20 21:55:58 -05:00
Rick V
3d62460f42
that didn't even fix the abseil shite
...
in fact, the *original* issue was resolved ages ago
This reverts commit 2373698ea91feb29158caa1634335858becb038d.
yeah this was a solution in search of a problem that no longer exists
2019-03-18 16:13:10 -05:00
Jeff Becker
8d078f19eb
wrap epoll with IO checks for resetting errno
2019-03-15 10:31:54 -04:00
Jeff Becker
ab83f51735
clear errno
2019-03-14 09:19:30 -04:00
Jeff Becker
089e8ab4ef
don't inline shit
2019-03-14 08:49:26 -04:00
Jeff Becker
990049f423
make rpc do basic auth and shit like that
2019-03-13 16:01:10 -04:00
Jeff Becker
734a5b5fae
more
2019-03-11 09:01:43 -04:00
Jeff Becker
2218749134
Merge remote-tracking branch 'origin/staging' into staging
2019-03-07 17:58:29 -05:00
Jeff Becker
6a09348c47
today's work
2019-03-07 17:53:36 -05:00
sachaaaaa
1f95e2ef28
Fix typo in ev_kqueue
2019-03-06 11:52:45 +11:00
Jeff
cf9d6a1793
Merge pull request #380 from majestrate/staging
...
Staging
2019-03-05 17:08:25 -05:00
Jeff Becker
4dbeae63ee
handle kqueue code more like epoll's code
2019-03-05 08:39:06 -05:00
Michael
61f3273dc4
Add threading annotations and fix potential deadlocks
2019-03-04 00:03:52 +00:00
Jeff
0a44d1b730
Merge pull request #367 from majestrate/staging
...
delay dns resolution for snode until we have a session with it
2019-03-01 14:13:20 -05:00
Jeff Becker
159415c363
delay dns resolution for snode until we have a session with it
2019-03-01 14:10:42 -05:00
sachaaaaa
d08169f104
Add missing override in evp.hpp
2019-03-01 09:59:36 +11:00
Jeff Becker
86098b198f
clear errno and log invalid data
2019-02-28 11:02:36 -05:00
Jeff Becker
46b80e465d
* fix jsonrpc endpoint path for caller
...
* make epoll not crash and leak
* correct key name in config
2019-02-27 10:19:55 -05:00
Rick V
975b4ca743
clang-format
2019-02-26 15:48:03 -06:00
Rick V
0de253065e
remove ded code
...
add code for proper DNSc search
2019-02-26 15:35:04 -06:00
Rick V
95835a50f9
move critical section to cover all handler entry points
2019-02-25 18:47:59 -06:00
Rick V
6e91547b39
ok serialising tun::FlushSend should get rid of that crash from #192
2019-02-25 16:55:05 -06:00
Rick V
f0ce9a0afb
try fixing threading bug
...
XXX: get jeff to go over threadpool code for overview
2019-02-25 16:15:01 -06:00