Commit Graph

72 Commits

Author SHA1 Message Date
Jeff Becker
ac1d1169bc
Merge remote-tracking branch 'rick/dev' into dev 2018-11-02 10:55:21 -04:00
Jeff
4b92661f5d * fix up kqueue tcp connection tracking so it works on mac os
* match changes in epoll for kqueue changes
* additional checks in libabyss
2018-11-02 08:35:20 -04:00
despair
8952873b84 include string_view 2018-11-02 02:39:43 -05:00
Jeff Becker
2d279e83fd
initial tcp connect for epoll 2018-11-01 08:47:14 -04:00
despair
561c5228d3 fixed race condition in event loop....dns seems to work now :DDD 2018-10-30 07:30:21 -05:00
despair
38f2a6b2c9 be slightly less annoying
check build rules
2018-10-30 00:16:34 -05:00
despair
d425b5d308 implement tcp evloop on win32
(with its now-obsolete distinction between socketfd and fd)

sockets and file descriptors used to be distinct objects....back in the
16-bit Winsock 1.1 era, which needlessly complicated the 32-bit port
back then. these days one can use [Read|Write]File(2) to operate on
sockfds...which also have some of the semantics of [read|write]v(2)
i.e. the scatter-gather thing it's known for is done in async handler

-rick

variants are nice

added note to self

clang-format

link abyss properly

oops

shut up

*shrugs*

oops forgot to start winsock

moved our async io status flags to the base class

let derived classes override them as needed

this is probably a synchronous op _anyway_

fix typo

wtf
2018-10-30 00:16:33 -05:00
despair
e5ef2cdd27 not enough signal handlers on win32 2018-10-30 00:16:32 -05:00
Jeff Becker
dbd2c41909
use event loop for time 2018-10-29 12:48:36 -04:00
Jeff
ccead80c3d make jsonrpc server configurable on build, disabled by default.
default to client only and require explicitly run as relay to run as relay.
2018-10-27 08:41:04 -04:00
Jeff Becker
9bad05bb2e
off by 1 2018-10-26 09:03:10 -04:00
Jeff Becker
b3e7fee982
try making compatable with older versions of rapidjson
add toy munin plugin
2018-10-26 09:02:15 -04:00
Jeff Becker
04d55b94c5
fix up jsonrpc stuff 2018-10-25 13:19:53 -04:00
Jeff Becker
ab7a4cd805
make jsonrpc demo work 2018-10-25 13:03:25 -04:00
Jeff Becker
e8bbc10838
zero copy logic for abyss::http::ConnImpl 2018-10-25 09:40:07 -04:00
Jeff Becker
957a5ed833
initial epoll event loop implementation for tcp 2018-10-24 14:02:42 -04:00
Jeff Becker
f7a095c1f7
disable string_view for now 2018-10-23 08:52:36 -04:00
Jeff Becker
c262f8b5e3
bundle relevent libsodium parts 2018-10-23 07:29:37 -04:00
Jeff Becker
612057003a
de changes 2018-10-19 07:41:36 -04:00
Jeff Becker
ca1243f392
add initial libabyss bolierplate 2018-10-16 13:22:52 -04:00
Jeff Becker
7c978d5bd2
move 2018-10-16 13:09:40 -04:00
Jeff Becker
cf81b79614
add boilerplate for libabyss 2018-10-16 13:08:48 -04:00