Jason Volk
ce31219b00
ircd::server: Elide saving head in tag; add content buffer-underrun discard.
2018-01-16 00:55:44 -08:00
Jason Volk
286f117ef8
ircd::server: Add idle link removal when over pool min; stubs for node decision-making.
2018-01-16 00:55:44 -08:00
Jason Volk
8536c57982
ircd::server: Minor renames; minor cleanup; improve some error handlers.
2018-01-15 20:26:27 -08:00
Jason Volk
6682f0ce80
ircd::net: On disconnect, turn an EOF ec into a success.
2018-01-15 19:46:23 -08:00
Jason Volk
1e0fe2b3d5
ircd::server/net: Proper snomask on these log calls.
2018-01-15 19:28:55 -08:00
Jason Volk
bf99718a0f
ircd::server: Basic pipeline.
2018-01-15 19:03:32 -08:00
Jason Volk
8e9bae5209
ircd::server: Add stats accumulation; develop preliminary dispatch; various.
2018-01-15 19:02:26 -08:00
Jason Volk
59621eb266
ircd::server: Improve write stack; add close_all(); various.
2018-01-15 03:12:56 -08:00
Jason Volk
745a00b332
ircd: Tweak client error handling stack apropos request timeout.
2018-01-15 03:12:56 -08:00
Jason Volk
6b7399bf4a
ircd::fs: Simplify API/AIO by eliminating callback: ctx yield only for now.
2018-01-15 03:12:56 -08:00
Jason Volk
368838d5a5
ircd::server: Add preliminary write loop; minor cleanup.
2018-01-15 03:12:56 -08:00
Jason Volk
d62afeb0a7
ircd::net: Add RFC1035 preliminary stub; minor reorg of resolver related.
2018-01-14 20:45:30 -08:00
Jason Volk
2962ecdc72
ircd: Add preliminary RFC1035 support.
2018-01-14 20:45:30 -08:00
Jason Volk
314bcb3d30
ircd::net: Update read()/write() strategies.
2018-01-14 20:45:30 -08:00
Jason Volk
df0e59a5e0
ircd::ctx: Add custom intrinsic list structure for contexts.
2018-01-13 23:45:36 -08:00
Jason Volk
7c4659a99f
ircd::server: Develop basic infrastructure.
2018-01-13 21:17:10 -08:00
Jason Volk
15bf7f5f6d
ircd::net: Add non-blocking discard_any(socket).
2018-01-13 20:21:29 -08:00
Jason Volk
c3423ad80b
ircd::net: Fix error.
2018-01-13 19:19:29 -08:00
Jason Volk
56cefcb650
ircd::server: Move into directory; various cleanup.
2018-01-13 18:03:04 -08:00
Jason Volk
c83665ca6c
ircd: Reorg client; add class members; pointer to current request; conf, etc.
2018-01-13 17:58:11 -08:00
Jason Volk
f71a728225
ircd::net: Fix bug where received data is stuck in SSL buffer.
2018-01-13 17:58:11 -08:00
Jason Volk
fa3afc7ad7
ircd::server: Preliminary client request pipeline framework.
2018-01-12 18:57:58 -08:00
Jason Volk
0f0c50017a
ircd::logger: Take stuff off stderr to not compete with console input.
2018-01-12 16:06:01 -08:00
Jason Volk
4d14adc961
ircd::net: Debug print certificate subject rather than whole cert.
2018-01-12 15:38:14 -08:00
Jason Volk
c1a3fabd5a
ircd::openssl: Add function to print subject of certificate.
2018-01-12 15:31:58 -08:00
Jason Volk
06cf9031b7
ircd::net: Increase buffer size for cert debug print.
2018-01-12 15:22:48 -08:00
Jason Volk
88e4445f0e
ircd::net: Move error checking fix back to initiator out of handler.
2018-01-12 14:14:01 -08:00
Jason Volk
458869f9ef
ircd::http: Remove response helper; add a couple fields to parse; minor cleanup.
2018-01-12 13:15:30 -08:00
Jason Volk
11adbae89a
ircd::net: decorate the peek.
2018-01-12 03:13:49 -08:00
Jason Volk
ebb48d96a9
ircd::http: Burning desire to dedupe this.
2018-01-11 23:38:12 -08:00
Jason Volk
51d729fa3a
ircd::db: Use off-stack buffer here for logging.
2018-01-11 22:29:00 -08:00
Jason Volk
239eb0e9ad
ircd::openssl: Support EC.
2018-01-11 22:29:00 -08:00
Jason Volk
8c869e3ee5
ircd::openssl: Convenience to print information about an X509 from a PEM.
2018-01-11 22:29:00 -08:00
Jason Volk
3d8d6f47b4
ircd::net: Ensure ordering of various operations if immediately dispatched.
2018-01-11 22:28:59 -08:00
Jason Volk
4d310ac22b
ircd: Towards debug message uniformity.
2018-01-11 22:02:34 -08:00
Jason Volk
d151d96d83
ircd: Fix/improve response header related.
2018-01-11 22:02:34 -08:00
Jason Volk
04fa556c58
ircd: Reflow the request handlers to give the resource more control over content.
2018-01-11 22:02:34 -08:00
Jason Volk
1f7ed51f3b
ircd::http: Remove request parser helper from here.
2018-01-11 22:02:34 -08:00
Jason Volk
cd0dc9a0ff
ircd::http: Simplify server response generation.
2018-01-11 22:02:34 -08:00
Jason Volk
7aa1dedd86
ircd::http: Add 413 PAYLOAD_TOO_LARGE.
2018-01-11 22:02:34 -08:00
Jason Volk
f99461481c
ircd: Take some buffers off the stack.
2018-01-11 22:02:34 -08:00
Jason Volk
a135227370
ircd::net: Tighten assumptions on cancel().
2018-01-11 22:02:33 -08:00
Jason Volk
725f069621
ircd::net: Add discard_all() convenience.
2018-01-11 22:02:33 -08:00
Jason Volk
37b98b5a82
ircd::openssl: Add flags to the X509 printer.
2018-01-11 22:02:33 -08:00
Jason Volk
dc4b17f84a
ircd/modules: Fix init prio removal related.
2018-01-11 03:24:22 -08:00
Jason Volk
382d1b0bf3
ircd::net: Close the sd in dc handler unconditionally; align the peek buf.
2018-01-11 03:23:40 -08:00
Jason Volk
fcfa386e33
ircd::net: Remove impossible log conditional; minor cleanup.
2018-01-11 03:22:17 -08:00
Jason Volk
c698101d6d
ircd::fs: Initial asynchronous file IO support for Linux platforms.
2018-01-10 22:09:05 -08:00
Jason Volk
c4ea3cc3e3
ircd: Utils for std::system_error related; minor cleanup.
2018-01-10 21:43:49 -08:00
Jason Volk
fed3265d33
ircd::fmt: Unrestrict long long from fmt specifiers.
2018-01-10 21:34:21 -08:00
Jason Volk
76e16e4d80
ircd::net: Improve remote construction; hostport/ipport related.
2018-01-10 01:20:16 -08:00
Jason Volk
84bbeecc83
ircd: Move sys/resource / coredump related out of libircd.
2018-01-10 00:56:33 -08:00
Jason Volk
8acdf52443
ircd::fs: Use direct kernel interface rather than glibc aio nonsense.
2018-01-10 00:55:08 -08:00
Jason Volk
6a552e349e
ircd: Preliminary AIO experimental stub on linux platforms.
2018-01-09 16:49:53 -08:00
Jason Volk
c03bb7e4f2
ircd: Various fixes and elaborations to client/net.
2018-01-08 21:49:00 -08:00
Jason Volk
89c481d1f8
ircd::net: Improve wait related; fix issues with bad behavior.
2018-01-08 18:33:05 -08:00
Jason Volk
b0579d0963
ircd::net: Show more information in some debug messages.
2018-01-08 15:16:47 -08:00
Jason Volk
9e086e9acd
ircd: Add ircd::assertion and exception suite for assertive errors.
2018-01-08 13:42:54 -08:00
Jason Volk
c8aaeb491f
ircd::net: Develop interface for async_wait / waiting on socket.
2018-01-08 13:25:13 -08:00
Jason Volk
17a1982c24
ircd::net: Add read_one() interface.
2018-01-08 12:41:22 -08:00
Jason Volk
f8127957c3
ircd: Various error handling fixes/cleanup.
2018-01-08 03:09:00 -08:00
Jason Volk
b507262582
ircd: Remove the close+wait after exiting client::main().
2018-01-08 03:09:00 -08:00
Jason Volk
a1f0075d62
ircd::net: Improve the timeout callback related.
2018-01-08 03:08:59 -08:00
Jason Volk
d10b9effd0
ircd::net: Improve string output for remote.
2018-01-08 03:08:59 -08:00
Jason Volk
54d6cbc8c1
ircd: Fwd declare boost::system::error_code; minor cleanup.
2018-01-08 03:08:59 -08:00
Jason Volk
274b4b43ed
ircd::net: Fix this bug fix.
2018-01-08 03:08:59 -08:00
Jason Volk
c22631ebf5
ircd::net: Consistent debug log messages.
2018-01-08 03:08:59 -08:00
Jason Volk
273e22c50e
ircd::net: Add common_name(opts) consistent function to get proper CN.
2018-01-08 03:08:59 -08:00
Jason Volk
b0427fbb91
ircd::net: ipport string contructions.
2018-01-08 03:08:59 -08:00
Jason Volk
bad0037d78
ircd::net: Copy around open_opts for now to prevent any lifetime complications.
2018-01-08 03:08:59 -08:00
Jason Volk
5615ef2470
ircd::net: Split up remote.h
2018-01-07 14:31:35 -08:00
Jason Volk
9dbae8b27a
ircd::net: Rename sockopts to sock_opts.
2018-01-07 02:02:41 -08:00
Jason Volk
4561bb21a0
ircd: Various fixes to net related call points.
2018-01-06 23:27:02 -08:00
Jason Volk
ac3802c0f9
ircd::net: Refine network subsystem; break up interfaces; various.
2018-01-06 23:27:01 -08:00
Jason Volk
7e0c01708a
ircd::net: Refine socket interfaces; connection options structure.
2018-01-05 19:19:03 -08:00
Jason Volk
0e1b605991
ircd::openssl: Add convenience to copy out certificate CN.
2018-01-05 16:59:26 -08:00
Jason Volk
e4d1005965
ircd: Minor formatting.
2018-01-05 01:02:40 -08:00
Jason Volk
72317c07c3
ircd::net: Shlock certificate common-name verification into the net stack.
2018-01-04 23:17:11 -08:00
Jason Volk
b878fd6ed0
ircd::openssl: Add X509_STORE_CTX suite.
2018-01-04 22:00:10 -08:00
Jason Volk
35ad641251
ircd::openssl: Minor rename function.
2018-01-04 21:59:39 -08:00
Jason Volk
6aec038479
ircd::net: Additional socket option accoutrements.
2018-01-04 19:25:46 -08:00
Jason Volk
ebad745a3f
ircd::net: Tentative future-based socket resolve->connect->handshake.
2018-01-04 19:25:40 -08:00
Jason Volk
fcb2660f0a
ircd::net: Elaborate low-level socket interface.
2018-01-04 17:44:35 -08:00
Jason Volk
dd137d50e3
ircd::net: Move resolution constructor from ipport to remote.
2018-01-04 17:44:35 -08:00
Jason Volk
8ccdd8568f
doc: Move conventions to STYLE; ircd: Add additional README related.
2018-01-04 17:44:34 -08:00
Jason Volk
1898cb307d
ircd::net: Improve resolver interface.
2018-01-04 17:44:34 -08:00
Jason Volk
6f81d0c643
ircd::net: Minor simplify API.
2018-01-04 17:44:34 -08:00
Jason Volk
2bca92d85d
ircd: We don't need this here; RocksDB has interface.
2018-01-04 17:44:34 -08:00
Jason Volk
26e04ecda4
ircd: buffer/net: Minor cleanup.
2018-01-04 17:44:34 -08:00
Jason Volk
acc73957f8
ircd::net: Socket interface package.
2018-01-04 17:44:34 -08:00
Jason Volk
9ad618a329
ircd::net: Move some string() / various cleanup.
2018-01-04 17:44:34 -08:00
Jason Volk
fa85596b6b
ircd: Various minor cleanup.
2017-12-30 01:17:10 -07:00
Jason Volk
2606837044
ircd::net: Use fixed result stack buffer.
2017-12-29 23:03:35 -07:00
Jason Volk
c7d97eaf00
ircd::net: Minor cleanup/movement.
2017-12-29 23:03:35 -07:00
Jason Volk
126df4b54a
ircd::net: Split resolve into file.
2017-12-29 22:44:15 -07:00
Jason Volk
35038f3d63
ircd::net: Reverse DNS resolution; various cleanup/related.
2017-12-29 22:38:00 -07:00
Jason Volk
8ec7c988a3
ircd::net: Add mass-resolution function.
2017-12-29 21:20:16 -07:00
Jason Volk
0eb16673ee
ircd::net: Add resolve interface; Update remote interface.
2017-12-29 19:33:04 -07:00
Jason Volk
9871332957
fixup! Pin boost to 1.66.0.
2017-12-29 15:53:39 -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
01feeaab6e
ircd::db: Provide len to elide the strlen(buf) on string_view{buf}.
2017-12-28 13:32:44 -07:00
Jason Volk
db24cef649
ircd::json: Minor cleanup/formatting.
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
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
cd4586e780
ircd: Remove these extra flushes/clears.
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
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
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
eab178b97f
ircd::net: Show a coarse io stat on disconnect for now.
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
acff6139e9
ircd::http: Move request error handlers out of http (to client).
2017-12-24 20:25:40 -07:00
Jason Volk
5f939cc039
Remove certain cruft from .gitignore.
2017-12-12 14:59:41 -07:00
Jason Volk
f771e67dc7
Update library info.
2017-12-12 14:59:41 -07:00
Jason Volk
ada2b4ad17
ircd::http: Minor cleanup/reorg; use c_str() assertion in places.
2017-12-12 14:59:41 -07:00
Jason Volk
42246d8d5f
ircd::json: Fix an empty string test.
2017-12-12 14:59:40 -07:00
Jason Volk
80931e4e86
ircd: Ⓜ️ Split m.cc; distribute inits; modules: Checkpoint matrix.
2017-12-12 14:59:40 -07:00
Jason Volk
f931308850
ircd/modules: Update resource / opts construction arguments.
2017-12-12 14:59:40 -07:00
Jason Volk
cc81ed2f33
ircd::net: Comment out this debug message contributing to excessive wind.
2017-12-12 14:59:40 -07:00
Jason Volk
03dea97bb2
ircd: Add preliminary RFC3986 grammar; move urlencoding there.
2017-12-12 14:59:40 -07:00
Jason Volk
d14d8a0f0f
ircd::rfc1459: Cleanup namespace.
2017-12-12 14:59:40 -07:00
Jason Volk
e0f64a7ca2
ircd: Ⓜ️ Transitional improvements to mxid grammars & tools.
2017-12-12 14:59:40 -07:00
Jason Volk
1ddf0f546a
ircd: Update various comments / documentation.
2017-12-12 14:59:40 -07:00
Jason Volk
c1bda4008f
ircd::net: Fix port inclusion in these places.
2017-12-03 13:55:56 -08:00
Jason Volk
0bd2f896d0
ircd::mods: Add remangling to module system (pre dll::smart_lib); cleanup.
2017-12-02 13:07:55 -08:00
Jason Volk
2685125f05
ircd::openssl: Fix memleak.
2017-12-02 13:07:15 -08:00
Jason Volk
1a1a50f5f3
Checkpoint reorganization.
2017-11-30 12:30:19 -08:00
Jason Volk
7ef3b67213
ircd: Fix server.h inclusion checkpoint.
2017-11-30 11:23:48 -08:00
Jason Volk
3a057c80a4
ircd: Add preliminary skeleton for cuckoo suite.
2017-11-30 11:23:48 -08:00
Jason Volk
315d86a8d2
ircd: Checkpoint temp server link uniplexing...
2017-11-30 11:23:47 -08:00
Jason Volk
f928630747
ircd::db: Checkpoint current experimentals here.
2017-11-30 11:23:47 -08:00
Jason Volk
5d53cdab5e
ircd: Ⓜ️ Checkpoint matrix.
2017-11-30 11:23:47 -08:00
Jason Volk
1c4d519db7
ircd::db: Use log::NOTICE facility rather than log::WARNING here.
2017-11-30 11:23:47 -08:00
Jason Volk
219d1ba245
ircd::json: Fix empty value stringification cases; Fix serialized number printing.
2017-11-30 11:23:47 -08:00
Jason Volk
96499c0e2a
ircd: Ⓜ️ Improve room interface; Improve bootstrap/init related.
2017-11-30 11:23:47 -08:00
Jason Volk
2fa64e5b87
ircd::json: Update grammars: string escapes; generalize rules without raw[] if possible.
2017-11-30 11:23:47 -08:00
Jason Volk
d354991c68
ircd::json: Stub a canonize() function which isn't complete yet.
2017-11-30 11:23:47 -08:00
Jason Volk
a747098b65
ircd::net: listener: Explicit string ctor; no default port to ensure one is specified.
2017-11-30 11:23:47 -08:00
Jason Volk
d1f0667b1e
ircd: Add validations of outgoing JSON.
2017-11-30 11:23:47 -08:00
Jason Volk
13aff1d7a8
ircd::rfc1459: Move grammars out of includes.
2017-11-30 11:23:46 -08:00
Jason Volk
bcebeb420d
ircd: Add interrupt for server dtor.
2017-11-30 11:23:46 -08:00
Jason Volk
97672ccc8f
ircd: Preliminary initial conf.
2017-11-30 11:23:46 -08:00
Jason Volk
0e2fe01426
ircd::json: Add a validator suite.
2017-11-30 11:23:46 -08:00
Jason Volk
b17293ee86
ircd::net: Add existential checks here.
2017-11-30 11:23:46 -08:00
Jason Volk
ea26fd0016
ircd::fs: Path cleanup.
2017-11-30 11:23:46 -08:00
Jason Volk
9df74c910c
ircd::openssl: Minor cleanup.
2017-11-30 11:23:46 -08:00
Jason Volk
366b0531a1
ircd: Remove this warning message when everything is normal.
2017-11-30 11:23:46 -08:00
Jason Volk
ae289de529
ircd::ctx: Improve the pool counters.
2017-11-30 11:23:46 -08:00
Jason Volk
a046a56d0d
ircd: Wrap the std::terminate() handler and add some related toys.
2017-11-30 11:23:46 -08:00
Jason Volk
f81a9d8da9
ircd::db: Remove cruft from moving query out of db.
2017-11-30 11:23:46 -08:00
Jason Volk
31b778ee0b
ircd: Ⓜ️ Improve server keys related functions.
2017-11-30 11:23:46 -08:00
Jason Volk
8869b1577c
ircd: Main init for server.
2017-11-30 11:23:45 -08:00
Jason Volk
6f392049ba
ircd: Use the asio error stringifier.
2017-11-30 11:23:45 -08:00
Jason Volk
62caa95ec8
ircd: Move client request exception handler to where the rest are.
2017-11-30 11:23:45 -08:00
Jason Volk
1b1e9ace7a
ircd::log: Polishing and commentary and assertions.
2017-11-30 11:23:45 -08:00
Jason Volk
532f416a3d
ircd: Develop various server.
2017-11-30 11:23:45 -08:00
Jason Volk
69f05391a6
ircd::net: Use nothrowing remote() for socket; cleanup handler.
2017-11-30 11:23:45 -08:00
Jason Volk
6b961711cb
ircd::net: Fix asio error code casting for SSL codes.
2017-11-30 11:23:45 -08:00
Jason Volk
0ef29fc433
ircd: Ⓜ️ Replace plaintext password storage with sha256.
2017-11-30 11:23:45 -08:00
Jason Volk
4793e4906c
ircd: Ⓜ️ Checkpoint matrix top-half / modules.
2017-11-30 11:23:44 -08:00
Jason Volk
92c6f6c1a9
ircd: Split up matrix.cc.
2017-11-30 11:23:44 -08:00
Jason Volk
5b61e1d01f
ircd::net/db: Hard debug log quiet for now; minor cleanup.
2017-11-30 11:23:44 -08:00
Jason Volk
87c6f91530
ircd::db: Improve column find by name from linear to logn; can still be O(1) with more work.
2017-11-30 11:23:44 -08:00
Jason Volk
6937e91fc3
ircd::net: OpenSSL/net interface for peer certificates so m:: can hash/verify.
2017-11-30 11:23:44 -08:00
Jason Volk
08469eb2a0
ircd::net: Tweak net::remote ctor related.
2017-11-30 11:23:44 -08:00
Jason Volk
78e8a3668d
ircd::json: Add missing stringify participant; minor cleanup.
2017-11-30 11:23:44 -08:00
Jason Volk
c16a6e8baa
ircd::ctx: Adjust prof defaults; minor cleanup.
2017-11-30 11:23:43 -08:00
Jason Volk
ea097c9f53
ircd: Split crypto.cc to hash.cc and rand.cc.
2017-11-30 11:23:43 -08:00
Jason Volk
b172fd5739
ircd::fmt: Assert for not finished before loop break.
2017-11-30 11:23:43 -08:00
Jason Volk
0df7ad850f
ircd::net: Quick & likely success branch for these handlers.
2017-11-30 11:23:43 -08:00
Jason Volk
d7136bb393
ircd: Improve and comment on runlevel / client interruption.
2017-11-30 11:23:43 -08:00
Jason Volk
99e431c8da
ircd::ctx: Further fix and clarify the POST/DETACH leak potential.
2017-11-30 11:23:42 -08:00
Jason Volk
7f97ffdede
ircd::json: Add support for parsing a vector of objects (non-standard).
2017-11-30 11:23:42 -08:00
Jason Volk
d09a3096be
ircd::json: Clean up expectation failure catching.
2017-11-30 11:23:42 -08:00
Jason Volk
26800d5db4
ircd::ctx: Improve the spawn sequence to avoid complications.
2017-11-30 11:23:42 -08:00
Jason Volk
570f4d7f54
ircd::json: stringify empty array as expected by serialized size.
2017-11-30 11:23:42 -08:00
Jason Volk
2902fcf71d
ircd/charybdis: Fix these stream manipulations.
2017-11-30 11:23:42 -08:00
Jason Volk
2930b93dcb
ircd::net: Various net/client/listener bugfixes/cleanup.
2017-11-30 11:23:42 -08:00
Jason Volk
526bfa23e1
ircd: Ⓜ️ Add pretty/pretty_oneline for preferred event viewing; minor event rel.
2017-11-30 11:23:41 -08:00
Jason Volk
ac756a8856
ircd: Use dynamic allocations for these resource response buffers.
2017-11-30 11:23:41 -08:00
Jason Volk
bc5f429681
ircd::db: Fix a rocksdb api misuse.
2017-11-30 11:23:41 -08:00
Jason Volk
2ce9b0521f
ircd::net: Various fixes / error handling / api.
2017-11-30 11:23:41 -08:00
Jason Volk
f36d3e2209
ircd::log: Fix these clear and flush points.
2017-11-30 11:23:41 -08:00
Jason Volk
32e0d3c5df
ircd::ctx: Improve spawning; fix bug.
2017-11-30 11:23:41 -08:00
Jason Volk
ae34691610
ircd::log: Optimize logger to use a single buffer + single write.
2017-11-30 11:23:41 -08:00
Jason Volk
888c7d5739
ircd::net: Update log messages.
2017-11-30 11:23:40 -08:00
Jason Volk
8b573378e8
ircd: Fixes to client related to net.
2017-11-30 11:23:40 -08:00
Jason Volk
f10662fe7d
ircd: Ⓜ️ Checkpoint matrix.
2017-11-30 11:23:40 -08:00
Jason Volk
6a024e9e16
ircd: Add preliminary 'server' as a client to *other* servers.
2017-11-30 11:23:40 -08:00
Jason Volk
52641ba47f
ircd::net: Add net::remote, suite; update network utils; fixes.
2017-11-30 11:23:40 -08:00
Jason Volk
38023e0d9b
ircd::openssl: Introduce openssl namespace for anything related to driving that beast.
2017-11-30 11:23:40 -08:00
Jason Volk
417e8ecad0
ircd::db: Fix comment; suppress a very verbose seek log message here.
2017-11-30 11:23:40 -08:00
Jason Volk
6562efb11e
ircd::json: Add 'defaults' construct to iov.
2017-11-30 11:23:40 -08:00
Jason Volk
4a44d0368a
ircd::http: Make server response header more like the User-Agent we also use as a client.
2017-11-30 11:23:39 -08:00
Jason Volk
92270b74ac
ircd::http: Parse a connection header.
2017-11-30 11:23:39 -08:00
Jason Volk
a67228e8b5
ircd::log: Allow CRITICAL log messages to break through suppression.
2017-11-30 11:23:39 -08:00
Jason Volk
14fea52dcb
ircd::net: Add async overloads; various cleanup.
2017-10-19 03:55:24 -07:00
Jason Volk
b83d7da7a0
ircd::log: Make sure the stream is flushed and reset when relinquishing control.
2017-10-19 01:38:25 -07:00
Jason Volk
0f51c84fb0
ircd::net: Move net into directory.
2017-10-19 01:30:19 -07:00
Jason Volk
0f00f21a1d
ircd: Add preliminary tcmalloc version check.
2017-10-19 01:05:41 -07:00
Jason Volk
7feb0dff79
ircd: client: various cleanup.
2017-10-19 01:04:52 -07:00
Jason Volk
c501f21ac2
ircd::net: Move listener next() to the accept event slice; various cleanup.
2017-10-19 01:03:40 -07:00
Jason Volk
a1e798f12c
ircd::net: Improve dc/socket dtor related.
2017-10-19 01:02:30 -07:00
Jason Volk
df8faae81d
ircd::net: Improve some exception specs related to socket.
2017-10-19 01:02:19 -07:00
Jason Volk
c157967559
irct::ctx: Add this basic pool debug.
2017-10-19 00:58:43 -07:00
Jason Volk
8fc336a1e9
ircd::net: No user input so use standard ::snprintf() here.
2017-10-17 00:48:10 -07:00
Jason Volk
3c0d5bd5d6
ircd::db: Fix empty row seek; fix potential coherence issue on offload.
2017-10-17 00:47:30 -07:00
Jason Volk
cdcd2e2fb9
ircd: Add std::chrono lex_cast; cleanup lex_cast buffer argument related.
2017-10-17 00:41:51 -07:00
Jason Volk
0be93870ea
ircd::log: Address any logger reentrancy; various cleanup.
2017-10-17 00:41:10 -07:00
Jason Volk
5797e99d81
ircd: Ⓜ️ Improve / cleanup ID related.
2017-10-15 21:54:28 -07:00
Jason Volk
33a35d5244
ircd: Add X-Matrix verification for resources.
2017-10-15 21:30:19 -07:00
Jason Volk
29d9f2bfdb
ircd::net: Improve some error handling and log message related.
2017-10-15 21:28:40 -07:00
Jason Volk
37308b1672
ircd::log: Add context name and id into logger format.
2017-10-15 21:27:36 -07:00
Jason Volk
115940e803
ircd::http: Preserve leading slash from user's URL so we can use it for X-Matrix auth.
2017-10-15 21:26:05 -07:00
Jason Volk
87b62002dd
fixup! ircd::json: Better bool related conversions etc.
2017-10-15 21:25:03 -07:00
Jason Volk
f20ff13a44
ircd::json: Sort members in during opportunity in this stringify().
2017-10-15 21:22:18 -07:00
Jason Volk
9c875c71a6
ircd::json: Better bool related conversions etc.
2017-10-15 21:21:56 -07:00
Jason Volk
08b961351d
ircd::fmt: Add more string types for the %s specifier here for now.
2017-10-15 21:20:25 -07:00
Jason Volk
5ca5f4b405
ircd::db: Improve formatting for seek debug messages.
2017-10-15 21:19:34 -07:00
Jason Volk
a3f7a41650
ircd::json: Rename json::string to json::strung and maintain json::string as intuitive type.
2017-10-15 21:18:42 -07:00
Jason Volk
124f7ea12a
ircd::ctx: Add utils for getting this_ctxt name and id; truncate default name literal.
2017-10-15 21:12:58 -07:00
Jason Volk
18bbf758f3
ircd/modules: Improve path param parsing related; various m:: related.
2017-10-11 20:54:03 -07:00
Jason Volk
1a4c57653b
ircd: Improve this stack buffer for now.
2017-10-11 20:54:02 -07:00
Jason Volk
6ba6cb1e7f
ircd: Add version 5.0.0 to libircd.
2017-10-11 20:54:02 -07:00
Jason Volk
045d38d034
ircd::http: Add authorization; multiple-choices error; improve header proffer; cleanup/reorg.
2017-10-11 20:54:02 -07:00
Jason Volk
908fde12c4
ircd: Add string replace() utils.
2017-10-11 20:54:02 -07:00
Jason Volk
4f0de4915d
ircd: Rename tokens_count() to token_count().
2017-10-11 20:54:02 -07:00
Jason Volk
8da4874f2c
ircd: Uniform initialization style for these.
2017-10-11 20:54:01 -07:00
Jason Volk
a663e80254
ircd::fs: Fix narrowing.
2017-10-11 20:54:01 -07:00
Jason Volk
3425659d7f
ircd::fs: Add very preliminary aio and ircd init for such.
2017-10-11 20:54:01 -07:00
Jason Volk
dffe222a78
ircd: Improve date utils; add date formatted string output; related.
2017-10-11 20:54:01 -07:00
Jason Volk
b9f13ed2c2
ircd: Remove cruft.
2017-10-11 20:54:01 -07:00
Jason Volk
e3963da007
ircd: Various comments added/modified.
2017-10-11 18:18:20 -07:00
Jason Volk
2839eb4b50
ircd::log: Make logger threadsafe by injecting other thread's messages into ios.
2017-10-11 18:18:20 -07:00
Jason Volk
eb56befef0
ircd: Improve thread id related; add public functions to post to ios.
2017-10-11 18:18:19 -07:00
Jason Volk
638f5469c5
ircd::json: Minor conflict fix.
2017-10-11 18:18:19 -07:00
Jason Volk
5c69d3df5a
ircd::crh: Improve hash related interface; comments etc.
2017-10-11 18:18:19 -07:00
Jason Volk
edcd95cd8f
modules/ircd: Ⓜ️ Upgrade various json tuple templates with string literals.
2017-10-11 18:18:19 -07:00
Jason Volk
2d90965816
configure.ac: Various cleanup; Add more warnings; Add optimization flags for testing.
2017-10-11 18:18:19 -07:00
Jason Volk
75648c7397
configure.ac: Add an RB_DEBUG_LEVEL which will always be defined; 0 when RB_DEBUG is not defined.
2017-10-11 18:18:19 -07:00
Jason Volk
bd1a66e608
ircd: minor simplifications; minor cleanup.
2017-10-11 18:18:18 -07:00
Jason Volk
dc2346a753
ircd::http: Cleanup error messages.
2017-10-11 18:18:18 -07:00
Jason Volk
db43edb212
ircd: Various labels to help de-virtualization on recommendation of -Wsuggest-final-types.
2017-10-11 18:18:18 -07:00