Jeff
b7f5bb0178
Merge branch 'dev' of ssh://github.com/loki-project/loki-network into dev
2018-11-21 19:02:00 -05:00
Jeff
3601df01ce
Merge pull request #66 from despair86/dev
...
rip out/replace event loop win32
2018-11-21 07:32:56 -05:00
despair
f23afc9f98
eh no more escapes
2018-11-20 10:00:43 -06:00
despair
906f11d08f
gah how did i miss that
2018-11-20 09:38:46 -06:00
despair
9301a4165e
oof, missed the leading underscore
...
clang-format
fading away, PR imminent :DDDDDD
-rick
2018-11-20 08:49:53 -06:00
despair
6792f3f378
add qol fix for oldfag clients or those who inexplicably have the legacy console turned ON
2018-11-20 08:47:17 -06:00
despair
436025e0ca
fix utp flags leaking into the actual socket transmission
...
clang-format
2018-11-20 06:11:51 -06:00
despair
964e834fea
finally get the right error on windows
...
fix
fix up errno on win32
test
2018-11-20 02:38:24 -06:00
despair
55670b6f82
fill in PTR request if it's too short (some DNS clients do this, notable: Microsoft DNS Client 5.0)
2018-11-20 02:38:23 -06:00
despair
d1fa9ca342
is the resulting storage a proper string, or just a plain char array (no terminator)
...
eh
2018-11-20 02:38:18 -06:00
despair
b9ab1f19a9
wooooo path builds work
...
update readme
fix gcc 8.x error
fix apple cross-clang someday
2018-11-20 02:38:02 -06:00
despair
c7d3e39c53
todo: check if we're adding a tun to the event loop
...
if so, add it to the listeners, but _not_ the epollfd
abstraction - epollfd takes _only_ sockets, and will reeeee
if you give it a file handle. fuck 16-bit Windows with a rusty
knife. In this case, we assume (like unix) that a file/device file
is _always_ ready to write
2018-11-19 16:57:26 -06:00
despair
1046cbab0b
make sure the user folder exists before running bootstrap
2018-11-19 04:29:40 -06:00
despair
1050e16ce9
make less noise during setup
2018-11-19 04:29:39 -06:00
despair
ae616d0fa5
minor fixes
...
eh
why apple why
why apple why
2018-11-19 04:29:39 -06:00
despair
be7ac352ca
switch to a simulation of epoll
...
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
2018-11-19 04:29:39 -06:00
despair
c325246beb
need to start winsock to use any networking
...
try fixing this
2018-11-19 04:29:39 -06:00
despair
e18f786ab2
refactor event loop stuff
...
find some place in the C code to place the worker thread procedure
until such time that michael presents the new thread pool class
fix unix
get a new event port each time and delet in the event loop after use
2018-11-19 04:29:39 -06:00
despair
d9863128b9
the intrinsic variant is 32-bit clean
...
the ASM variant is not
found it
fix
something is wrong with the external build
hmm
why is this critical section doing nothing
fix multiple init
debug init
ok fixed
2018-11-19 04:29:36 -06:00
Jeff
ff6ab7d631
initial node garbage
2018-11-18 12:00:51 -05:00
Jeff
930b41f644
temp commit
2018-11-18 12:00:02 -05:00
Jeff Becker
e3dc4dca11
mark paths as dead when they need to and revert codel changes
2018-11-17 13:40:13 -05:00
Jeff Becker
ffccb058c4
syntax error
2018-11-16 09:22:52 -05:00
Jeff Becker
ae62627c50
gfdi
2018-11-16 09:22:13 -05:00
Jeff Becker
8b64bb336a
syntax error
2018-11-16 09:21:52 -05:00
Jeff Becker
ce2760135a
mark paths as active when they are
2018-11-16 09:21:23 -05:00
Jeff Becker
4e3089dee4
fix last commit
2018-11-16 09:06:50 -05:00
Jeff Becker
6866e70a95
build paths if we are out of exits on exit session
2018-11-16 09:03:13 -05:00
Jeff Becker
8d613c182f
nullptr check
2018-11-15 18:07:39 -05:00
Jeff Becker
b56b3ad16d
don't remove ip mapping when endpoints are removed
2018-11-15 17:10:12 -05:00
Jeff Becker
17297837d9
that's dumb af, use std::unique_ptr
2018-11-15 16:47:05 -05:00
Jeff Becker
d6c42c4a30
gfdi
2018-11-15 13:40:08 -05:00
Jeff Becker
9d551ba768
more
2018-11-15 13:10:09 -05:00
Jeff Becker
937ab151ab
idk what is going on
2018-11-15 11:19:24 -05:00
Jeff Becker
9baf6ecfd9
idklol
2018-11-15 11:15:25 -05:00
Jeff Becker
723351eb4e
friendship with std::unordered_map is now over, std::map is my new best friend
2018-11-15 11:12:05 -05:00
Jeff Becker
c7c6905e1e
explicit type
2018-11-15 11:05:31 -05:00
Jeff Becker
207e312eb0
more logging
2018-11-15 11:00:16 -05:00
Jeff Becker
01724c8529
use const iter
2018-11-15 10:54:48 -05:00
Jeff Becker
6f796d031b
use const
2018-11-15 10:53:32 -05:00
Jeff Becker
7b188d0fde
more
2018-11-15 10:46:50 -05:00
Jeff Becker
715822c20d
logging
2018-11-15 10:43:58 -05:00
Jeff Becker
60ad2c76e0
try this
2018-11-15 09:44:57 -05:00
Jeff Becker
2bfdd7798c
use emplace?
2018-11-15 09:38:31 -05:00
Jeff Becker
09be390236
god fucking damnit
2018-11-15 09:19:50 -05:00
Jeff Becker
d44872496f
gfdi
2018-11-15 09:16:10 -05:00
Jeff Becker
cd94da7ffe
gfdi
2018-11-15 09:12:17 -05:00
Jeff Becker
b689bbbcf6
gfdi
2018-11-15 09:08:42 -05:00
Jeff Becker
489d1e645b
actually add exit :p
2018-11-15 08:58:17 -05:00
Jeff Becker
0889071514
more logging
2018-11-15 08:54:53 -05:00