Jason Volk
0eb16673ee
ircd::net: Add resolve interface; Update remote interface.
2017-12-29 19:33:04 -07:00
Jason Volk
baa35a368a
ircd: Update include/ircd README with conventions section.
2017-12-29 15:53:49 -07:00
Jason Volk
9871332957
fixup! Pin boost to 1.66.0.
2017-12-29 15:53:39 -07:00
Jason Volk
c77ee478e5
ircd::ctx: Add custom refcnt to allow copyable promise.
2017-12-29 15:32:08 -07:00
Jason Volk
bede11ef6e
Pin boost to 1.66.0.
...
This is a bleeding edge version which won't make it to mainstream
distros for some time. However, critical advances in DNS resolution
and non-copyable asio handlers may be available now and that is
extremely important for us.
2017-12-29 14:06:55 -07:00
Jason Volk
2ab9e3a713
Update goals.
2017-12-28 23:10:13 -07:00
Jason Volk
46482e61f2
ircd::net: Consistent nesting for null_remote to remote::null.
2017-12-28 15:26:19 -07:00
Jason Volk
bf9db52428
ircd::net: Include a remote::resolved() indicator.
2017-12-28 15:25:57 -07:00
Jason Volk
1bc4b46fbd
fixup! configure.ac: Add c++17 header <optional>.
2017-12-28 14:02:24 -07:00
Jason Volk
a549070f05
modules: Remove this manual include of <iterator> here.
2017-12-28 13:48:37 -07:00
Jason Volk
f54b14ae07
configure.ac: Add c++17 header <optional>.
2017-12-28 13:43:45 -07:00
Jason Volk
b22d96977a
configure.ac: Unformat the include list.
2017-12-28 13:42:59 -07:00
Jason Volk
01feeaab6e
ircd::db: Provide len to elide the strlen(buf) on string_view{buf}.
2017-12-28 13:32:44 -07:00
Jason Volk
59bd14e862
ircd: Ⓜ️ Update README.
2017-12-25 21:02:36 -07:00
Jason Volk
643e68f10e
Update README.
2017-12-25 01:54:23 -07:00
Jason Volk
db24cef649
ircd::json: Minor cleanup/formatting.
2017-12-24 21:54:59 -07:00
Jason Volk
ba3d1e7af4
modules: Add stub media/upload.
2017-12-24 21:54:59 -07:00
Jason Volk
3d1a173358
ircd::net: Add extern null_remote.
2017-12-24 21:54:59 -07:00
Jason Volk
e63632c78f
ircd::buffer: Ensure default constructions available in all derivatives.
2017-12-24 21:54:59 -07:00
Jason Volk
09d0c9b2d6
ircd: Respond with Allow header when 405'ing.
2017-12-24 21:54:59 -07:00
Jason Volk
36142718f6
ircd::http: Massage additional header related into response interface/stack.
2017-12-24 21:54:59 -07:00
Jason Volk
c20a2927d0
ircd: Minor reorg client/resource relationship.
2017-12-24 21:54:59 -07:00
Jason Volk
ae8a8e736a
ircd: Comment on ctype(string_view).
2017-12-24 21:54:59 -07:00
Jason Volk
cd4586e780
ircd: Remove these extra flushes/clears.
2017-12-24 21:54:59 -07:00
Jason Volk
8604819bd5
ircd::buffer: Remove the terminated string copy from this context.
2017-12-24 21:54:59 -07:00
Jason Volk
04ad57965e
ircd::ctx: Fix promise move constructions etc.
2017-12-24 21:54:59 -07:00
Jason Volk
abcf2c2c14
ircd::buffer: Add convenience completed() conversion to stream_buffer.
2017-12-24 21:54:59 -07:00
Jason Volk
5e9fbe78f3
doc: Update STYLE.
2017-12-24 21:54:59 -07:00
Jason Volk
9f75f80c21
ircd::ctx: Consolidate release sequence in mutex/shared_mutex.
2017-12-24 21:54:59 -07:00
Jason Volk
47293f2dc7
ircd: Simplify logger with stream_buffer.
2017-12-24 21:54:59 -07:00
Jason Volk
f4e85af4c2
ircd::log: Use reentrance_assertion; make principal buffer static.
2017-12-24 21:54:59 -07:00
Jason Volk
df38f2c8fa
ircd::util: Add reentrancy assertion utility.
2017-12-24 21:54:59 -07:00
Jason Volk
bd725498bc
Update README.
2017-12-24 21:54:59 -07:00
Jason Volk
ef6152c0ef
ircd: Move openssl.h way down here so it can use json.
2017-12-24 21:54:59 -07:00
Jason Volk
51ebd9c346
ircd::http: Update HTTP send-sides to write to stream_buffer.
2017-12-24 21:54:59 -07:00
Jason Volk
8178d96f64
ircd: Add iov size to client/server IO debug.
2017-12-24 21:54:59 -07:00
Jason Volk
56f4d156af
ircd::buffer: Attempt to tighten these buffers templates by specifying buffer.
2017-12-24 21:54:59 -07:00
Jason Volk
18ef10643b
ircd::util: Narrow the coverage of the size() -> sizeof(T) template.
2017-12-24 21:54:59 -07:00
Jason Volk
7d863091bb
ircd::buffer: Add the stream_buffer.
2017-12-24 21:54:58 -07:00
Jason Volk
3d5eea0ce3
ircd::net: Move these temp items here.
2017-12-24 21:54:58 -07:00
Jason Volk
f8d3fee8b6
ircd::client: Add comments; move around error handlers; related.
2017-12-24 21:54:58 -07:00
Jason Volk
40d6b6055b
ircd::http: Remove the write_closure from the request parse object.
2017-12-24 21:54:58 -07:00
Jason Volk
f37311a3f1
ircd::util: Add an endian bswap; add more data()/size() participants.
2017-12-24 21:54:58 -07:00
Jason Volk
eab178b97f
ircd::net: Show a coarse io stat on disconnect for now.
2017-12-24 21:54:58 -07:00
Jason Volk
8d2e098d16
ircd::buffer: Proper exports of templates to compete in ircd::.
2017-12-24 21:54:58 -07:00
Jason Volk
6b57387cc2
ircd::openssl: Add several suites of utils for OpenSSL/X.509/RSA/BIGNUM et al.
2017-12-24 21:54:58 -07:00
Jason Volk
bdf696b91f
ircd::fs: Add these string_view overloads.
...
This is to not force string conversions in callerspace. Right now everything
gets converted to std::string internally but eventually string_view may be
preferable. Either way the overload finds the best behavior for now.
2017-12-24 20:25:40 -07:00
Jason Volk
27721860c2
ircd::fs: Add a file sizing suite.
2017-12-24 20:25:40 -07:00
Jason Volk
fbf07913f7
ircd::ctx: Minor style/format fixes.
2017-12-24 20:25:40 -07:00
Jason Volk
82aa59c5ec
ircd::buffer: Reverse convenience utils.
2017-12-24 20:25:40 -07:00