Jason Volk
|
d4c2ec6b22
|
ircd::db: Fix iterator invalidation from a cache-missing seek.
|
2018-05-25 06:21:03 -07:00 |
|
Jason Volk
|
2564b28743
|
ircd::db: Properly maintain db::gopts as iterator state.
|
2018-05-25 03:07:30 -07:00 |
|
Jason Volk
|
a45365ee98
|
ircd::allocator: Add global allocator profiling suite.
|
2018-05-25 03:07:30 -07:00 |
|
Jason Volk
|
c6bd9d63e8
|
ircd::allocator: Deinline non-template assets.
|
2018-05-25 00:15:49 -07:00 |
|
Jason Volk
|
ee0ff2b1ad
|
ircd:Ⓜ️ Basic internal db::gopts for events iteration.
|
2018-05-24 21:31:33 -07:00 |
|
Jason Volk
|
ff21175036
|
ircd::db: Integrate checkpointing with database name and path schema.
|
2018-05-24 20:52:49 -07:00 |
|
Jason Volk
|
4cb6845ac1
|
ircd::fs: Use vector_view for make_path related.
|
2018-05-24 19:11:05 -07:00 |
|
Jason Volk
|
184684264b
|
ircd:Ⓜ️🪝 Additional internal distillation of class components.
|
2018-05-24 18:31:47 -07:00 |
|
Jason Volk
|
4ce29f1d22
|
ircd::db: Add cache clear interface w/ console cmd.
|
2018-05-24 01:18:58 -07:00 |
|
Jason Volk
|
7bfe9e94a1
|
ircd::db: Default to no checksums on all reads; add conf item; adjust opts.
|
2018-05-23 18:45:27 -07:00 |
|
Jason Volk
|
5708d9c36b
|
ircd::db: Consolidate various stats interfaces into header.
|
2018-05-23 17:04:02 -07:00 |
|
Jason Volk
|
77755a2ab4
|
ircd::db: Add interface to rocksdb iostats w/ console cmd.
|
2018-05-23 16:57:49 -07:00 |
|
Jason Volk
|
9da798145b
|
ircd:Ⓜ️ Allow room opts passed through user::room ctor.
|
2018-05-23 16:44:16 -07:00 |
|
Jason Volk
|
1c20df652b
|
ircd::db: Elaborate interface to the rocksdb perf_context.
|
2018-05-23 16:27:44 -07:00 |
|
Jason Volk
|
f641076072
|
ircd::json: Antipodal undefined number; add assert that it's not zero.
|
2018-05-23 00:32:37 -07:00 |
|
Jason Volk
|
956c67beca
|
ircd::ctx: Use dock for better adjoindre semantics.
|
2018-05-22 18:06:18 -07:00 |
|
Jason Volk
|
f68f3bbb9c
|
ircd::ctx: Organize stack and profile related into specific structures.
|
2018-05-22 18:03:18 -07:00 |
|
Jason Volk
|
8b15512849
|
ircd::db: Add database's unique id string interface.
|
2018-05-22 17:01:01 -07:00 |
|
Jason Volk
|
9d5afc8e87
|
ircd::db: Add separate check(database); Add log notice when checking on open.
|
2018-05-22 16:52:34 -07:00 |
|
Jason Volk
|
eda5822700
|
Move boost coroutine deprecation suppression define to configure.ac from Makefile.am.
|
2018-05-22 16:31:30 -07:00 |
|
Jason Volk
|
0e169fe4a4
|
ircd::ctx: Stop interrupt propagation at pool function base.
|
2018-05-22 05:49:38 -07:00 |
|
Jason Volk
|
d901257745
|
ircd::ctx: Use NOINTERRUPT flag for termination suppression as well.
|
2018-05-22 00:24:48 -07:00 |
|
Jason Volk
|
f17f9685ec
|
ircd::ctx::ole: Use interrupt suppression scope while offloaded.
|
2018-05-22 00:22:57 -07:00 |
|
Jason Volk
|
7e8ec1ca63
|
ircd::ctx: Support interrupt suppression; suite.
|
2018-05-22 00:22:56 -07:00 |
|
Jason Volk
|
fd13e71684
|
ircd:Ⓜ️:dbs: Add equality comparator to optimize events__room_events.
|
2018-05-21 19:52:47 -07:00 |
|
Jason Volk
|
1afba986b3
|
ircd::db: Support additional rdb comparator features.
|
2018-05-21 19:52:18 -07:00 |
|
Jason Volk
|
6be37c7aa6
|
ircd:Ⓜ️ Add event::fetch::opts overrider to room::messages; simplify overrider on room::state.
|
2018-05-21 17:36:16 -07:00 |
|
Jason Volk
|
0d489d6ffb
|
ircd::http: Add 504 Gateway Timeout status.
|
2018-05-21 15:56:13 -07:00 |
|
Jason Volk
|
bc26a8f9b3
|
ircd:Ⓜ️ Optimize user::rooms iteration event query.
|
2018-05-21 00:19:27 -07:00 |
|
Jason Volk
|
2755d779c9
|
ircd:Ⓜ️ Simplify user::rooms iteration callstack.
|
2018-05-21 00:19:08 -07:00 |
|
Jason Volk
|
559c2f008c
|
ircd:Ⓜ️ Optimize room::members::count w/ event::fetch::opts keys select.
|
2018-05-20 20:30:25 -07:00 |
|
Jason Volk
|
65b516e4c0
|
ircd:Ⓜ️ Use proper m::membership(event) test and deoptimize accordingly.
|
2018-05-20 20:26:12 -07:00 |
|
Jason Volk
|
db026147b7
|
ircd:Ⓜ️ Optimize query for room::members::for_each w/ user_id closure.
|
2018-05-20 20:17:45 -07:00 |
|
Jason Volk
|
67b7a58f42
|
ircd:Ⓜ️ Additional event/room visibility linkage and preliminary hook.
|
2018-05-20 20:15:50 -07:00 |
|
Jason Volk
|
a66928572b
|
ircd:Ⓜ️ Elaborate room::state ctor for easier custom fopts.
|
2018-05-20 20:14:44 -07:00 |
|
Jason Volk
|
6e7d5aec3b
|
ircd:Ⓜ️ Rename room opts to copts for consistency.
|
2018-05-20 20:14:12 -07:00 |
|
Jason Volk
|
32549bc9ae
|
ircd::conf: Deinline some specialized definitions.
|
2018-05-20 18:39:33 -07:00 |
|
Jason Volk
|
c88ce8168b
|
Revert "ircd:Ⓜ️ Convert hook to template."
This reverts commit 915076296f .
|
2018-05-20 18:39:32 -07:00 |
|
Jason Volk
|
67744cf73e
|
ircd:Ⓜ️ Remove the room::state::opts.
|
2018-05-20 05:11:30 -07:00 |
|
Jason Volk
|
7e5b9b69ed
|
ircd:Ⓜ️ Integrate fetch::opts with room queries.
|
2018-05-20 04:35:17 -07:00 |
|
Jason Volk
|
79371780f3
|
ircd:Ⓜ️ Add fetch::opts with keys and db::gopts.
|
2018-05-20 04:34:31 -07:00 |
|
Jason Volk
|
163106bb72
|
ircd:Ⓜ️ Simplify the event::fetch ctor stack w/ default selection.
|
2018-05-20 01:48:47 -07:00 |
|
Jason Volk
|
c2b45aacc3
|
ircd::db: Use better column count in row ctor.
|
2018-05-19 23:13:54 -07:00 |
|
Jason Volk
|
2f48b69102
|
ircd:Ⓜ️ Add event::fetch seekless ctor w/ selection.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
2b71ad8a04
|
ircd::json: Various cleanup.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
208a0198c0
|
ircd::json: Add specific extern undefined number.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
6150637537
|
ircd:Ⓜ️ event::fetch keys selection.
|
2018-05-19 22:55:03 -07:00 |
|
Jason Volk
|
16c86f9a76
|
ircd::fmt: Fix copying / nulling / assertions.
|
2018-05-19 20:53:40 -07:00 |
|
Jason Volk
|
8140130a3a
|
ircd::http: date_buf off stack.
|
2018-05-19 20:04:53 -07:00 |
|
Jason Volk
|
69e9c9bbc6
|
ircd::server: Fix peer hostname string discrepancy.
|
2018-05-19 18:49:08 -07:00 |
|
Jason Volk
|
5a058be4ba
|
ircd::net: Use specific canon service/port variables.
|
2018-05-19 18:49:08 -07:00 |
|
Jason Volk
|
e395e4d85e
|
ircd:Ⓜ️ Fix hook deletion while iterating set.
|
2018-05-19 18:49:08 -07:00 |
|
Jason Volk
|
65f7adc8c6
|
ircd::server: Internalize more references to the peer instance; various cleanup.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
fc3fd6a8b2
|
ircd::resource: Add a node_id to the resource request struct.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
ba4b3fa145
|
ircd: Minor comments / minor cleanup.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
eb5f2475a3
|
ircd:Ⓜ️ Add preliminary skeleton linkage for room/event visibilty related.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
986f591caa
|
ircd:Ⓜ️ Ignore my_host's signature when adding signatures.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
aada1c9f17
|
ircd:Ⓜ️ Slightly improve state tuple pretty().
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
997da91477
|
ircd:Ⓜ️ Complete the room state tuple buffer constructor.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
31d0f9daed
|
ircd:Ⓜ️:dbs: Rename opts.idx to opts.event_idx; split internal related.
|
2018-05-19 18:49:07 -07:00 |
|
Jason Volk
|
3e47fbb388
|
ircd::client: Remove unnecessary exception test assertion here.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
2626e14543
|
ircd:Ⓜ️:dbs: Copy root_in to root_out buffer for intuitive behavior.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
296eff7c5d
|
ircd::db: Removed unused cell features.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
e3a85fa523
|
ircd::resource: Consistent rstrip of trailing path solidus.
|
2018-05-19 18:49:06 -07:00 |
|
Jason Volk
|
a62f453e58
|
ircd:Ⓜ️ Add signature appending routine.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
7e512eecdc
|
ircd:Ⓜ️ Move signatures field nulling to essential keys function.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
e5da1a82e7
|
ircd::openssl: Update exception type.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
82fbbad8e3
|
ircd:Ⓜ️ Simplify b64 buffer sizing.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
8fefae157a
|
ircd:Ⓜ️ Fix event::idx argument typing in events:: iterations.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
a7b0246830
|
ircd::net: Increase default acceptor timeout for spinapps friends.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
1d582f65d6
|
ircd:Ⓜ️:dbs: Add a descriptor for the default column with no cache alloc.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
ab4f2b362f
|
ircd::db: Decrease temp default row cache size.
|
2018-05-19 18:49:05 -07:00 |
|
Jason Volk
|
48f4c22cce
|
ircd:Ⓜ️ Expose an init::close() for ircd::main() to stop listening.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
47b28d9295
|
ircd::db: Add cache key remover.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
9e0acde5cf
|
ircd::db: Add cache entry iteration (experimental).
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
8f40fd574a
|
ircd::db: Interface to test if cache entry exists.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
f97c9fff99
|
ircd::db: Add interface to database & column caches.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
507b8e4f1c
|
ircd::db: Minor cleanup.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
915076296f
|
ircd:Ⓜ️ Convert hook to template.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
c5c5f9643e
|
ircd:Ⓜ️🪝 Cleanup constructor: move feature string creation out.
|
2018-05-19 18:49:04 -07:00 |
|
Jason Volk
|
77d2c06ded
|
ircd:Ⓜ️🪝 Add the always matching vector.
|
2018-05-19 18:49:03 -07:00 |
|
Jason Volk
|
1cea146098
|
ircd:Ⓜ️🪝 Add hook matcher count; use mapping closure.
|
2018-05-19 18:49:03 -07:00 |
|
Jason Volk
|
24797bfa22
|
ircd:Ⓜ️🪝 Add call counter.
|
2018-05-19 18:49:03 -07:00 |
|
Jason Volk
|
9388e65250
|
ircd::db: Fix constness of colname vector values.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
508baeb4a5
|
ircd::db: Move vector of colptrs to stack.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
0478ead6d9
|
ircd:Ⓜ️:filter: Condition on contains_url in match definition.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
1d7fce8368
|
ircd:Ⓜ️ Reorg filter interface and linkage related.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
0abfc6e927
|
ircd::net: Minor fix spacing.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
39edf575ba
|
ircd:Ⓜ️ Simplify init / fini presence semantics.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
a1c3788c38
|
ircd:Ⓜ️ Add single-property getter interface for event.
|
2018-05-19 18:49:02 -07:00 |
|
Jason Volk
|
dc38da5566
|
ircd:Ⓜ️ Add missing ADL-converted index(event) calls.
|
2018-05-19 18:49:01 -07:00 |
|
Jason Volk
|
d9b5a7d26a
|
ircd:Ⓜ️ Improve various keys interfaces.
|
2018-05-19 18:49:01 -07:00 |
|
Jason Volk
|
42b8d41e58
|
ircd:Ⓜ️:v1:🔑 Add overload for key_id in uri.
|
2018-05-11 02:02:46 -07:00 |
|
Jason Volk
|
3e877ebad3
|
ircd::net: Elaborate the peer_cert stack: add sha256; add b64 of sha256.
|
2018-05-10 21:00:32 -07:00 |
|
Jason Volk
|
f160963c02
|
ircd::db: Split column compact range and files operations for interface.
|
2018-05-10 17:06:35 -07:00 |
|
Jason Volk
|
3f296f2108
|
ircd::net: Fix error fmtstr; use static exception instance for copy.
|
2018-05-09 21:12:01 -07:00 |
|
Jason Volk
|
6feaa95d4b
|
ircd::resource: Add MIME type requirement option for methods.
|
2018-05-09 17:47:09 -07:00 |
|
Jason Volk
|
cb2c95ceb6
|
ircd::http: Add 406 / 415 codes to enumerations.
|
2018-05-09 17:19:43 -07:00 |
|
Jason Volk
|
dcbbaf2579
|
ircd::server: Add opts::prio value; special case prio value in link selection.
|
2018-05-09 17:07:37 -07:00 |
|
Jason Volk
|
c14f268559
|
ircd:Ⓜ️ ADL the event::fetch::index() suite.
|
2018-05-09 16:38:11 -07:00 |
|
Jason Volk
|
6b0c011535
|
ircd::server: Copies of the link pointers must be on stack.
|
2018-05-08 16:03:56 -07:00 |
|
Jason Volk
|
c47324f741
|
ircd::net::dns: Add retries.
|
2018-05-08 16:03:56 -07:00 |
|
Jason Volk
|
477fe01e40
|
ircd::net::dns: Write question into tag buffer; add send_burst conf item.
|
2018-05-08 16:03:55 -07:00 |
|
Jason Volk
|
a318319ba4
|
ircd::net: attribute noreturn upon advice.
|
2018-05-08 14:32:40 -07:00 |
|
Jason Volk
|
79a44e4587
|
ircd::net: No need to hold this pointer in closure.
|
2018-05-08 14:31:39 -07:00 |
|
Jason Volk
|
618fc8a95e
|
ircd::net::dns: Tweak reference prototypes.
|
2018-05-08 14:29:44 -07:00 |
|
Jason Volk
|
39b49599e5
|
ircd:Ⓜ️:user: Add mitsein::count() interface.
|
2018-05-08 00:44:23 -07:00 |
|
Jason Volk
|
ce6c4d357e
|
ircd::json: Add flush watermarking to json::stack.
|
2018-05-07 23:48:31 -07:00 |
|
Jason Volk
|
51d0f1a6a4
|
ircd::server: Use fixed tls vector for copying link pointers.
|
2018-05-07 23:24:51 -07:00 |
|
Jason Volk
|
9a3bda06af
|
ircd::server: Copy link pointers while iterating for open().
|
2018-05-07 23:09:06 -07:00 |
|
Jason Volk
|
907efca5d8
|
ircd::openssl: Checks on peer cert dereference.
|
2018-05-07 16:58:39 -07:00 |
|
Jason Volk
|
5488a85d1a
|
ircd: Update log start marker.
|
2018-05-07 16:34:59 -07:00 |
|
Jason Volk
|
9792cb1435
|
ircd:Ⓜ️:vm: Add preliminary phase state; minor movements.
|
2018-05-07 16:34:59 -07:00 |
|
Jason Volk
|
b113322a28
|
ircd::server: Improve assertion for no key movement.
|
2018-05-07 16:34:59 -07:00 |
|
Jason Volk
|
fd80a13b15
|
modules/key/keys: Refactoring of key queries to use m::v1 requests and interface.
|
2018-05-07 16:34:59 -07:00 |
|
Jason Volk
|
7e66e79715
|
ircd:Ⓜ️:v1: Split key request into server/query requests.
|
2018-05-07 16:34:59 -07:00 |
|
Jason Volk
|
9821d7f333
|
ircd:Ⓜ️:v1: Add key query request.
|
2018-05-07 14:58:29 -07:00 |
|
Jason Volk
|
5000397f12
|
ircd::ctx: Fix erroneous comment.
|
2018-05-07 12:37:44 -07:00 |
|
Jason Volk
|
e15ac0d1d3
|
ircd::ctx: Add state for counting context switches.
|
2018-05-07 12:36:33 -07:00 |
|
Jason Volk
|
4c71ab8fd0
|
ircd:Ⓜ️🪝 Simplify collections with instance_lists.
|
2018-05-06 22:28:17 -07:00 |
|
Jason Volk
|
456f8e7ac1
|
ircd:Ⓜ️ Move vm eval definitions into module.
|
2018-05-06 22:28:17 -07:00 |
|
Jason Volk
|
a04a3e840e
|
ircd:Ⓜ️:vm: Add pointers to access the evaluation data at issue.
|
2018-05-06 18:10:01 -07:00 |
|
Jason Volk
|
989441677f
|
ircd:Ⓜ️:vm: Add additional identifications to eval instance.
|
2018-05-06 18:02:34 -07:00 |
|
Jason Volk
|
820284f2d0
|
ircd:Ⓜ️:vm: Give eval the instance_list.
|
2018-05-06 18:02:33 -07:00 |
|
Jason Volk
|
68c863e7f9
|
ircd:Ⓜ️:vm: Reorg commit stack; move room commit thing to m::vm.
|
2018-05-06 18:02:33 -07:00 |
|
Jason Volk
|
7758a80927
|
ircd: Further condense ircd::main() exception handlers.
|
2018-05-06 15:11:59 -07:00 |
|
Jason Volk
|
2183c6bea9
|
ircd::client: Adjust main exception handlers for ctx::terminated.
|
2018-05-06 15:11:05 -07:00 |
|
Jason Volk
|
e90603b762
|
ircd:Ⓜ️🪝 Support arbitrary creation and deletion of hook::site instances.
|
2018-05-06 14:53:39 -07:00 |
|
Jason Volk
|
003ecf6357
|
ircd: Remove / update various ctx::interrupted catch blocks for ctx::terminated.
|
2018-05-06 02:06:08 -07:00 |
|
Jason Volk
|
48055cb276
|
ircd::ctx: Add special termination interruption to yanagiba the stack.
|
2018-05-06 02:06:08 -07:00 |
|
Jason Volk
|
e80c8e6f65
|
ircd:Ⓜ️ Consistent usage of object::size() rather than object::count().
|
2018-05-05 23:14:11 -07:00 |
|
Jason Volk
|
1059688d02
|
ircd::ctx: Add state for stack usage profiling; clarify some interfaces.
|
2018-05-05 23:14:11 -07:00 |
|
Jason Volk
|
f55304e0a1
|
ircd::ctx: Add slice total counter; move check_stack after timing sample.
|
2018-05-05 22:42:25 -07:00 |
|
Jason Volk
|
ea42490b4e
|
ircd::ctx: Consolidate slice timing to tsc; add public interfacing.
|
2018-05-05 22:24:25 -07:00 |
|
Jason Volk
|
ec0153c4da
|
ircd::ctx: Split into internal header.
|
2018-05-05 21:24:17 -07:00 |
|
Jason Volk
|
dd04a50743
|
ircd:Ⓜ️:dbs: Expose the internal indexer interface.
|
2018-05-05 18:54:02 -07:00 |
|
Jason Volk
|
f08b1053b4
|
ircd:Ⓜ️:room: Add condition for present state optimization even w/ supplied event_id.
|
2018-05-05 03:39:33 -07:00 |
|
Jason Volk
|
ad2f823056
|
ircd:Ⓜ️:room: Add head::has() existential test.
|
2018-05-05 03:36:47 -07:00 |
|
Jason Volk
|
386901f4c2
|
ircd::net: Fix conditions for eptr creation from cached error.
|
2018-05-05 00:55:42 -07:00 |
|
Jason Volk
|
ab2490ce73
|
ircd:Ⓜ️:vm: Add vmopts for room_head related.
|
2018-05-04 20:57:28 -07:00 |
|
Jason Volk
|
35fee056f9
|
ircd:Ⓜ️:room: Add preliminary head interface.
|
2018-05-04 20:57:28 -07:00 |
|
Jason Volk
|
36b43b8607
|
ircd:Ⓜ️:dbs: Add indexing sequence for _room_head.
|
2018-05-04 20:57:28 -07:00 |
|
Jason Volk
|
e12863d091
|
ircd:Ⓜ️:dbs: Add room_head column.
|
2018-05-04 20:43:05 -07:00 |
|
Jason Volk
|
5ba64df248
|
ircd::net: Explicitly construct these things here.
|
2018-05-04 20:43:05 -07:00 |
|
Jason Volk
|
ca45e84908
|
ircd:Ⓜ️ Add bad(event_id) query interface.
|
2018-05-04 20:43:05 -07:00 |
|
Jason Volk
|
f34ebec1cf
|
ircd::db: Add convenience read(column) nothrow overloads.
|
2018-05-04 20:43:05 -07:00 |
|
Jason Volk
|
e6fe7805c1
|
ircd::db: Minor simplify db::read(column).
|
2018-05-04 20:43:04 -07:00 |
|
Jason Volk
|
7ca2e8797d
|
ircd:Ⓜ️:dbs: Add interface to manipulate the blacklist column.
|
2018-05-04 20:43:04 -07:00 |
|
Jason Volk
|
cff90c79ae
|
ircd: Minor cleanup.
|
2018-05-04 20:43:04 -07:00 |
|
Jason Volk
|
546e57915b
|
ircd:Ⓜ️:dbs: Checkpoint cache size default tweaks.
|
2018-05-04 16:38:45 -07:00 |
|
Jason Volk
|
66a4d52a93
|
ircd:Ⓜ️:dbs: Add event_bad column for blacklisting.
|
2018-05-04 16:38:45 -07:00 |
|
Jason Volk
|
09a0b345c8
|
ircd:Ⓜ️:dbs: No need to unref columns anymore.
|
2018-05-04 14:32:18 -07:00 |
|
Jason Volk
|
f77b3aae7e
|
ircd:Ⓜ️ Reorg event util related; break up pretty(event) around ostream argument.
|
2018-05-04 14:30:51 -07:00 |
|
Jason Volk
|
8d819cd3f5
|
ircd::log: Minor cleanup.
|
2018-05-03 20:08:24 -07:00 |
|
Jason Volk
|
a054ac6b2f
|
ircd::resource: Clear peer error after peer contacts us.
|
2018-05-02 22:22:12 -07:00 |
|
Jason Volk
|
292e8c5a12
|
ircd::server: Remove deprecated assertion.
|
2018-05-02 22:22:12 -07:00 |
|
Jason Volk
|
770ed3a1ef
|
ircd::client: Minor cleanup init/fini log calls.
|
2018-05-02 22:22:12 -07:00 |
|
Jason Volk
|
97da72e7d9
|
ircd::client: Increase default request timeout.
|
2018-05-02 12:44:12 -07:00 |
|
Jason Volk
|
1d0ae3855a
|
ircd::server: Close link if the only commitment is a cancelled tag.
|
2018-05-02 12:33:08 -07:00 |
|
Jason Volk
|
695fb4c9b0
|
ircd::net: Ensure proper string() is resolved; minor cleanup.
|
2018-05-02 12:15:04 -07:00 |
|
Jason Volk
|
c84fe8d962
|
ircd::server: Fix preservation of nullity for in.content through cancellation.
|
2018-05-02 12:00:32 -07:00 |
|
Jason Volk
|
8f7a05c9ed
|
ircd::server: Minor cleanup / assertions / comments.
|
2018-05-02 12:00:26 -07:00 |
|
Jason Volk
|
4c61eeba89
|
ircd::net::dns: Use explicit static empty record instances.
|
2018-05-02 11:28:34 -07:00 |
|
Jason Volk
|
fb53069c6f
|
ircd::net::dns Include query in callback arguments to prevent any stale captures.
|
2018-05-01 18:56:22 -07:00 |
|
Jason Volk
|
9af649f739
|
ircd::db: Consolidate write(column) overloads.
|
2018-04-30 07:18:06 -07:00 |
|
Jason Volk
|
e80e34eddc
|
ircd:Ⓜ️ Fix fmt argument type.
|
2018-04-28 22:16:34 -07:00 |
|
Jason Volk
|
2b7358aa60
|
ircd:Ⓜ️:dbs: Conditional indexer; pass db::op from opts for indexer.
|
2018-04-28 19:05:17 -07:00 |
|
Jason Volk
|
6d771191fc
|
ircd::rfc1035: Fix any uninitialized gaps in the name buffer.
|
2018-04-28 18:47:17 -07:00 |
|
Jason Volk
|
3f2320c49e
|
ircd::net::dns: Strip the cached-error SRV target of its prefix; minor fixes.
|
2018-04-28 17:47:59 -07:00 |
|
Jason Volk
|
405fcdef23
|
ircd::rfc1035: Remove unnecessary ilist.
|
2018-04-28 17:47:59 -07:00 |
|
Jason Volk
|
30d8c0b961
|
ircd::net::dns: Allocate separate reply buffer in resolver.
|
2018-04-28 17:47:59 -07:00 |
|
Jason Volk
|
a3bea15eef
|
ircd::net::dns: Various send cleanup/asserts; fix hostport reference in eh.
|
2018-04-28 17:47:59 -07:00 |
|
Jason Volk
|
2b41672259
|
ircd::net::dns: Improve the SRV -> A callback chain.
|
2018-04-28 17:47:59 -07:00 |
|
Jason Volk
|
4e796c896a
|
ircd::net::dns: Allow an exception to calling back with nxdomain as an exception.
|
2018-04-28 17:47:58 -07:00 |
|
Jason Volk
|
1d408173dc
|
ircd::net: Return pointer to cached error record for put_error().
|
2018-04-28 16:25:20 -07:00 |
|
Jason Volk
|
48abece29b
|
ircd::net: Improve dns::resolver instance init/fini.
|
2018-04-28 15:31:07 -07:00 |
|
Jason Volk
|
0f161f98e8
|
ircd::ctx::list: Fix misleading reference.
|
2018-04-28 03:26:07 -07:00 |
|
Jason Volk
|
d3b1b0ff77
|
ircd:Ⓜ️🆔 Cleanup / fix error.
|
2018-04-27 21:48:14 -07:00 |
|
Jason Volk
|
46cf2ca559
|
ircd:Ⓜ️ Fix closure parameter rot.
|
2018-04-27 21:48:14 -07:00 |
|
Jason Volk
|
d8b14ade58
|
ircd:Ⓜ️ Fix narrowing conversion.
|
2018-04-27 21:48:14 -07:00 |
|
Jason Volk
|
dc5ac7c2ac
|
ircd::ctx: #ifdef away linkages for ctx assertions in NDEBUG builds.
|
2018-04-27 19:16:56 -07:00 |
|
Jason Volk
|
09c282fd8e
|
ircd::ctx: Add stack_usage_assertion; move stack_usage_here() into this_ctx::.
|
2018-04-27 19:09:26 -07:00 |
|
Jason Volk
|
70f962de4e
|
ircd:Ⓜ️ Elaborate presence interface to fetch full event from user's room.
|
2018-04-27 15:26:17 -07:00 |
|
Jason Volk
|
9c5b10fb61
|
ircd::server: Preserve nullity of cancellation tag's in.content.
|
2018-04-26 21:35:55 -07:00 |
|
Jason Volk
|
75b67e11fc
|
ircd:Ⓜ️ Add state_root() to room messages iterator.
|
2018-04-26 21:35:55 -07:00 |
|
Jason Volk
|
a734798100
|
ircd::db: Minor cleanup.
|
2018-04-26 17:52:24 -07:00 |
|
Jason Volk
|
8083a5d71c
|
ircd::db: Add WAL fflush; move table flushes to "sort()"; adjust interfaces.
|
2018-04-26 17:19:29 -07:00 |
|
Jason Volk
|
93ca1448d1
|
ircd::db: Verify SST checksums on db open.
|
2018-04-26 16:48:35 -07:00 |
|
Jason Volk
|
94439a334e
|
ircd::db: Cleanup/Simplify db open ptr construction.
|
2018-04-26 16:39:59 -07:00 |
|
Jason Volk
|
173093e45a
|
ircd::db: Fix default description to include default column.
|
2018-04-26 16:22:16 -07:00 |
|
Jason Volk
|
94b03cfe71
|
ircd:Ⓜ️ Fix my_node id generation.
|
2018-04-26 15:45:06 -07:00 |
|
Jason Volk
|
523bf19f30
|
ircd:Ⓜ️🪝 Add a set to track all hooks for a site.
|
2018-04-26 15:17:28 -07:00 |
|
Jason Volk
|
78a5442230
|
ircd:Ⓜ️ Increase stream buffer sizes for pretty(event).
|
2018-04-25 23:34:39 -07:00 |
|
Jason Volk
|
6add3e9952
|
ircd::server: Limit recursion of chunk head parses.
|
2018-04-25 20:52:27 -07:00 |
|
Jason Volk
|
e2568457f4
|
ircd::server: Add dynamic chunk vectoring.
|
2018-04-25 20:52:26 -07:00 |
|
Jason Volk
|
7e32d3cbaa
|
ircd::server: Checkpoint preliminary chunk vectoring; state, options.
|
2018-04-25 15:10:04 -07:00 |
|
Jason Volk
|
55632dee5e
|
ircd:Ⓜ️:dbs: Fix default value for event::idx to respect domain order.
|
2018-04-25 01:42:41 -07:00 |
|
Jason Volk
|
ba61369027
|
ircd:Ⓜ️:dbs: Use buffer size constants for query key generations.
|
2018-04-24 19:32:32 -07:00 |
|
Jason Volk
|
12592cd22c
|
ircd:Ⓜ️🆔 Improve size constants and range enforcements.
|
2018-04-24 19:22:07 -07:00 |
|
Jason Volk
|
bf445492db
|
ircd::fs: Use const_buffer rather than string_view in various returns.
|
2018-04-24 18:34:46 -07:00 |
|
Jason Volk
|
a13c11c93c
|
ircd::log: Fix showing the other name during duplicate snote check.
|
2018-04-24 18:00:12 -07:00 |
|
Jason Volk
|
f049bbf0d0
|
ircd: Split tokens.cc from lexical.cc
|
2018-04-24 17:01:11 -07:00 |
|
Jason Volk
|
db21df0c31
|
ircd: Move mapi.h into mods/.
|
2018-04-24 01:21:16 -07:00 |
|
Jason Volk
|
bff688bf64
|
ircd::openssl: Rename iteration until -> for_each.
|
2018-04-24 00:50:40 -07:00 |
|
Jason Volk
|
90348f4265
|
ircd:Ⓜ️ Add interface to get origin names of user's rooms.
|
2018-04-23 19:39:50 -07:00 |
|
Jason Volk
|
243b0b7918
|
ircd::resource: Fix resource false matching issue; cleanup.
|
2018-04-23 19:17:03 -07:00 |
|
Jason Volk
|
aa5681dab9
|
ircd:Ⓜ️:dbs: Throw exception for a null index here.
|
2018-04-23 18:14:30 -07:00 |
|
Jason Volk
|
7889d116f0
|
ircd::resource: Choose better log level based on HTTP response codes.
|
2018-04-23 17:47:10 -07:00 |
|
Jason Volk
|
2e3e8bc0d5
|
ircd::log: Add masking by name; various improvements.
|
2018-04-23 17:20:00 -07:00 |
|
Jason Volk
|
ca138a4338
|
ircd::log: Give log::log the instance list w/ construction checks.
|
2018-04-23 17:20:00 -07:00 |
|
Jason Volk
|
27ff5e9be1
|
ircd::log: Objectify mark / vlog related.
|
2018-04-23 17:20:00 -07:00 |
|
Jason Volk
|
e598a27d7a
|
ircd::log: Use string_view for named log instance due to dominant use-case.
|
2018-04-23 17:20:00 -07:00 |
|
Jason Volk
|
523ef5f1db
|
ircd:Ⓜ️ Show the hostname in the vm init/halt log message.
|
2018-04-22 16:26:54 -07:00 |
|
Jason Volk
|
f808a28664
|
ircd: Add m/m.h to stdinc.h
|
2018-04-22 16:22:02 -07:00 |
|
Jason Volk
|
87bd9bc429
|
ircd:Ⓜ️ Add conf init sequence for m::self related.
|
2018-04-22 15:18:05 -07:00 |
|
Jason Volk
|
f866c9a4de
|
ircd::db: Flush here does not mean what one might think it means.
|
2018-04-22 15:08:26 -07:00 |
|
Jason Volk
|
2325208ecd
|
ircd:Ⓜ️ Add more detailed content information in pretty(event).
|
2018-04-22 14:24:48 -07:00 |
|
Jason Volk
|
a3bcd2dbf3
|
ircd: Add b64 <-> b58 convenience conversion suite.
|
2018-04-22 14:24:37 -07:00 |
|
Jason Volk
|
2557834a96
|
ircd:Ⓜ️:dbs: Factor in the event_idx for a more stable messages sort.
|
2018-04-22 13:49:02 -07:00 |
|
Jason Volk
|
757f8f8209
|
ircd::client: Tweak timeout defaults; fix branch probability; additional assert.
|
2018-04-21 23:45:25 -07:00 |
|
Jason Volk
|
799f450b47
|
ircd:Ⓜ️ Fix content size sampling in pretty(event).
|
2018-04-20 23:48:39 -07:00 |
|
Jason Volk
|
6b32da764d
|
ircd::client: Remove the asynchronous longpoll state.
|
2018-04-20 19:54:18 -07:00 |
|
Jason Volk
|
784293e01f
|
ircd::client: Assertions for request context.
|
2018-04-20 19:53:36 -07:00 |
|
Jason Volk
|
ebea2e2385
|
ircd::db: Explicitly involve SST files in column compaction.
|
2018-04-20 17:03:20 -07:00 |
|
Jason Volk
|
6de7fb7b8c
|
ircd::db: Adjust destruction sequence for rocksdb DB::Close() call.
|
2018-04-20 17:03:20 -07:00 |
|
Jason Volk
|
f3b0fa3b4e
|
ircd::db: Additional option tweaks.
|
2018-04-20 17:03:20 -07:00 |
|
Jason Volk
|
e3b2bcf19d
|
ircd::db: Maintain SST file manager instance.
|
2018-04-20 15:45:57 -07:00 |
|
Jason Volk
|
532f987bd6
|
ircd::db: Move column compact()/flush() to more consistent place.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
666e509c97
|
ircd::db: Expose setoptions interface.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
f805344604
|
ircd::db: Options package for file growth, count and compaction related.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
88f5937559
|
ircd::log: Update the log::mark() argument to use string_view.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
1cd3e41e44
|
ircd::info: Distill out the logdump from init.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
09ff713743
|
ircd::info: Query the RLIMIT_NOFILE; minor fixes.
|
2018-04-20 15:22:50 -07:00 |
|
Jason Volk
|
fcf17db132
|
ircd: Various fixes / cleanup.
|
2018-04-20 15:22:49 -07:00 |
|
Jason Volk
|
2a7cb42c98
|
ircd::ctx: Minor ctx object semantic elaboration.
|
2018-04-20 00:44:45 -07:00 |
|
Jason Volk
|
7d64e6323b
|
ircd::client: Use conf::item's for client related.
|
2018-04-20 00:44:45 -07:00 |
|
Jason Volk
|
d2536c83a2
|
ircd::client: dwarning if client request pool exhausted.
|
2018-04-20 00:44:45 -07:00 |
|
Jason Volk
|
1dcfff91a5
|
ircd::ctx: Expose stack_max() to public interface.
|
2018-04-19 21:42:54 -07:00 |
|
Jason Volk
|
35a1c62b1f
|
ircd::ctx: Add ctx::running()/waiting() for interface completeness.
|
2018-04-19 21:42:54 -07:00 |
|
Jason Volk
|
3b32d2170e
|
ircd::ctx: Give ctx::ctx the instance_list.
|
2018-04-19 21:42:54 -07:00 |
|
Jason Volk
|
281a9e1cfd
|
ircd::ctx: Place ctx::list node pointers into structure in ctx.
|
2018-04-19 21:42:54 -07:00 |
|
Jason Volk
|
793c24ce9e
|
ircd::ctx: Simplify list iteration API.
|
2018-04-19 14:47:56 -07:00 |
|
Jason Volk
|
1d451ca3ff
|
ircd:Ⓜ️ Add additional filter convenience constructors.
|
2018-04-19 14:23:47 -07:00 |
|
Jason Volk
|
1397091b7c
|
ircd:Ⓜ️:events: Add a filtered iteration.
|
2018-04-19 14:23:47 -07:00 |
|
Jason Volk
|
e57b85cb36
|
ircd:Ⓜ️ Add developer convenience constructor to event_filter.
|
2018-04-19 13:47:51 -07:00 |
|
Jason Volk
|
328292ba0e
|
ircd|:Ⓜ️ Optimize path for head_idx()/depth() to avoid head id lookup.
|
2018-04-18 15:13:17 -07:00 |
|
Jason Volk
|
fbc78c9c60
|
ircd:Ⓜ️ Add head_idx(room) convenience to get one head event idx.
|
2018-04-18 15:09:13 -07:00 |
|
Jason Volk
|
02bc9032e8
|
ircd:Ⓜ️ Add event::idx to top() tuple.
|
2018-04-18 15:04:46 -07:00 |
|
Jason Volk
|
7659ef3acc
|
ircd:Ⓜ️ Reorder top() tuple; use strong type template std::get'ers.
|
2018-04-18 15:03:42 -07:00 |
|
Jason Volk
|
d64adf8916
|
ircd:Ⓜ️ Rename event id generator function.
|
2018-04-18 14:26:25 -07:00 |
|
Jason Volk
|
7f3919dd17
|
ircd:Ⓜ️ Split events iterations into namespace.
|
2018-04-18 01:25:54 -07:00 |
|
Jason Volk
|
5a3f105afc
|
ircd:Ⓜ️ Optimize away the event_seq column.
|
2018-04-18 00:28:05 -07:00 |
|
Jason Volk
|
03e8107b7b
|
ircd:Ⓜ️:dbs: Elaborate additional descriptor options for columns.
|
2018-04-17 22:10:28 -07:00 |
|
Jason Volk
|
eefc7430bc
|
ircd:Ⓜ️ Convert db column keys to binary integers over a continuous sequence space.
|
2018-04-17 21:13:16 -07:00 |
|
Jason Volk
|
e6a80082c8
|
ircd::db: Assertion for non-empty key seek.
|
2018-04-17 20:30:06 -07:00 |
|
Jason Volk
|
b95a588bc4
|
ircd::db: Comment/improve descriptor/column options.
|
2018-04-17 15:28:08 -07:00 |
|
Jason Volk
|
330fe74035
|
ircd::db: Add file_count and bytes aggregator for all columns in db.
|
2018-04-17 14:13:36 -07:00 |
|
Jason Volk
|
6ef68a8f4e
|
ircd:Ⓜ️ Show content bytes in pretty(event).
|
2018-04-17 02:51:44 -07:00 |
|
Jason Volk
|
8a829435cd
|
ircd:Ⓜ️:vm: Special case sequence number zero for iterator.
|
2018-04-16 23:30:57 -07:00 |
|
Jason Volk
|
bcd704826c
|
ircd:Ⓜ️:vm: Move db::txn to the stack; use automatic reserve option.
|
2018-04-16 17:28:26 -07:00 |
|
Jason Volk
|
b729338037
|
ircd:Ⓜ️:room: Move event::fetch outside loop to prevent constructions.
|
2018-04-16 15:58:26 -07:00 |
|
Jason Volk
|
d5cd5dea09
|
ircd:Ⓜ️:vm: Sequence iteration interface.
|
2018-04-16 15:58:02 -07:00 |
|
Jason Volk
|
b320d8ece1
|
ircd:Ⓜ️:vm: Integrate sequence counting.
|
2018-04-16 15:20:08 -07:00 |
|
Jason Volk
|
d5087f4e8f
|
ircd:Ⓜ️:dbs: Add event sequence column.
|
2018-04-16 15:20:08 -07:00 |
|
Jason Volk
|
dcacc5af0a
|
ircd:Ⓜ️:vm: Add db::txn allocation reservation options.
|
2018-04-16 15:20:08 -07:00 |
|
Jason Volk
|
e009d6763e
|
ircd::db: Fix issues with txn interface.
|
2018-04-16 15:20:08 -07:00 |
|
Jason Volk
|
cae6964fa5
|
ircd:Ⓜ️:vm: Add missing INTERRUPT fault to reflect switch.
|
2018-04-16 13:48:16 -07:00 |
|
Jason Volk
|
60b9960c3d
|
ircd:Ⓜ️ Tweaks to bootstrap / init task ordering.
|
2018-04-15 18:02:41 -07:00 |
|
Jason Volk
|
19d7e05605
|
ircd::resource: Allow each resource method to specify its timing.
|
2018-04-15 18:02:41 -07:00 |
|
Jason Volk
|
49d83de384
|
ircd::net: Propagate ctx interruption to socket.
|
2018-04-15 17:46:20 -07:00 |
|
Jason Volk
|
f4b2273a4b
|
ircd::net: Add a semaphore to the socket timer to invalidate queued callbacks.
|
2018-04-15 17:46:20 -07:00 |
|
Jason Volk
|
5be18475df
|
ircd::net: Move scope_timeout from socket:: to net:: w/ exposure.
|
2018-04-15 16:43:09 -07:00 |
|
Jason Volk
|
6d88ee339d
|
ircd:Ⓜ️:dbs: Rename room_origins to room_joined.
|
2018-04-15 16:43:09 -07:00 |
|
Jason Volk
|
7b54dba291
|
ircd::db: Expose an interface for some counters; add ticker command.
|
2018-04-15 16:43:09 -07:00 |
|
Jason Volk
|
416d199736
|
ircd:Ⓜ️ Fix pretty(event) formatting.
|
2018-04-15 04:16:40 -07:00 |
|
Jason Volk
|
2dad8d8832
|
ircd::net::dns: Empty cache key assertions.
|
2018-04-15 02:44:28 -07:00 |
|
Jason Volk
|
0c78bf7a9b
|
ircd::db: Add compaction interface.
|
2018-04-15 02:42:57 -07:00 |
|
Jason Volk
|
f7f2194745
|
ircd::db: Reenable the histogram collection.
|
2018-04-15 00:36:33 -07:00 |
|
Jason Volk
|
0a3259afae
|
ircd::db: Custom table opts; table cache; introduce the bloom filter.
|
2018-04-14 23:10:09 -07:00 |
|
Jason Volk
|
f37176d698
|
ircd::net::dns: Enforce min ttl for cache entries; add conf option.
|
2018-04-14 18:35:48 -07:00 |
|
Jason Volk
|
de295777d0
|
ircd::net::dns: Improve/fix cache management related.
|
2018-04-14 18:13:19 -07:00 |
|
Jason Volk
|
b9cf0c9796
|
ircd::rfc1035: Comparison operator suite for record types.
|
2018-04-14 17:34:07 -07:00 |
|
Jason Volk
|
1ad4d58e43
|
ircd::net::dns: Move cache interfaces into cache class.
|
2018-04-14 17:34:07 -07:00 |
|
Jason Volk
|
756840b42c
|
ircd::client: Add unique client id monotonic counter.
|
2018-04-14 17:15:06 -07:00 |
|
Jason Volk
|
69b0066c15
|
ircd::resource: Add routine to warmup caches after origin verification.
|
2018-04-14 17:15:06 -07:00 |
|
Jason Volk
|
cf22eacfd3
|
ircd::net::dns: Add static fire-and-forget callbacks for prefetching.
|
2018-04-14 17:15:06 -07:00 |
|
Jason Volk
|
e3b97871f9
|
ircd: Add function to return daemon's uptime.
|
2018-04-14 17:15:06 -07:00 |
|
Jason Volk
|
deb1a0a979
|
ircd::resource: Add chunked encoding response suite.
|
2018-04-13 23:19:43 -07:00 |
|
Jason Volk
|
3f72b7ce19
|
ircd::db: Update gopts; add seqnum option; fix missing readahead.
|
2018-04-13 22:46:31 -07:00 |
|
Jason Volk
|
7c92eb2757
|
ircd::server: Use system time for error time state.
|
2018-04-13 20:02:48 -07:00 |
|
Jason Volk
|
dc81d77c19
|
ircd::net: Improve/comment on various sundry DNS cache related.
|
2018-04-13 18:34:48 -07:00 |
|
Jason Volk
|
6ca4f6eec5
|
ircd::net: Expose interface for socket stat counter.
|
2018-04-13 17:24:07 -07:00 |
|
Jason Volk
|
69aeddad61
|
ircd::client: Reference the client's request handling context via class member.
|
2018-04-13 17:03:17 -07:00 |
|
Jason Volk
|
414133ba55
|
ircd::resource: Reset the client.request object after request.
|
2018-04-13 16:52:38 -07:00 |
|
Jason Volk
|
dd69acbad3
|
ircd::json::stack: Handle and properly propagate flusher exception out of stack.
|
2018-04-13 16:03:34 -07:00 |
|
Jason Volk
|
0b217b3474
|
ircd::client: Improve request exception propagation; propagate ctx::interrupted.
|
2018-04-13 15:46:16 -07:00 |
|
Jason Volk
|
14d90bf4a9
|
ircd:Ⓜ️:vm: Move temporary m.room.member effect to modules/m_room_member.
|
2018-04-13 14:54:11 -07:00 |
|
Jason Volk
|
45f8239f9b
|
ircd:Ⓜ️:vm: Properly propagate a context interruption to the evaluator.
|
2018-04-12 23:07:46 -07:00 |
|
Jason Volk
|
56234556e8
|
ircd:Ⓜ️ Real uses for this prefer to include the user in the iteration.
|
2018-04-12 23:07:46 -07:00 |
|
Jason Volk
|
bd4a16fab1
|
ircd::db: Tweak sundry open options.
|
2018-04-12 23:07:46 -07:00 |
|