Jason Volk
|
168b82a972
|
ircd::client: Improve the acceptance pattern; condition on conf limits.
|
2018-09-01 22:21:42 -07:00 |
|
Jason Volk
|
384f5917d0
|
ircd::net::listener: Add callback to proffer the connection before handshake.
|
2018-09-01 22:12:49 -07:00 |
|
Jason Volk
|
e3262a7b31
|
ircd::client: Function to count clients connected from remote addr.
|
2018-09-01 21:19:15 -07:00 |
|
Jason Volk
|
1cedbd7b06
|
ircd::client: Convert client instance_list to instance_multimap.
|
2018-09-01 21:05:45 -07:00 |
|
Jason Volk
|
b63c103bb7
|
ircd: Disable CBOR for now.
|
2018-09-01 16:57:56 -07:00 |
|
Jason Volk
|
f7813f61a5
|
ircd::client: Rename the client request pool.
|
2018-09-01 15:08:48 -07:00 |
|
Jason Volk
|
91dff38a57
|
ircd:Ⓜ️ Add prefetch() to event::fetch interface.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
62426ab210
|
ircd::db: Add column prefetch.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
ca1ee19a47
|
ircd::db: Minor simplify.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
ff7d2514a0
|
ircd::db: Remove the cache prefetch/fetch interface.
|
2018-09-01 07:15:03 -07:00 |
|
Jason Volk
|
13c9e5bf6f
|
ircd::client: Add interface to respawn contexts after a terminate w/ console cmd.
|
2018-09-01 07:15:02 -07:00 |
|
Jason Volk
|
4a1e498059
|
ircd::openssl: Increase default generated certificate duration value.
|
2018-08-31 21:53:35 -07:00 |
|
Jason Volk
|
3ee9186173
|
ircd:Ⓜ️ Improve safe init exception propagation.
|
2018-08-30 21:55:20 -07:00 |
|
Jason Volk
|
140c4a5143
|
ircd:Ⓜ️ Only set ircd offline presence on clean ~init.
|
2018-08-30 21:55:20 -07:00 |
|
Jason Volk
|
32a67c82c9
|
ircd::mods: Minor cleanup.
|
2018-08-30 21:55:19 -07:00 |
|
Jason Volk
|
60b3cd828e
|
ircd::net: Add listener::name() interface method.
|
2018-08-30 19:15:28 -07:00 |
|
Jason Volk
|
e5f94ed704
|
ircd::http: Simplify interface; DRY.
|
2018-08-30 19:00:07 -07:00 |
|
Jason Volk
|
83edde639f
|
ircd::http: Improve query::string::at() error message to show key name.
|
2018-08-30 10:58:32 -07:00 |
|
Jason Volk
|
ac3b45604a
|
ircd::db: Move comment.
|
2018-08-30 07:21:44 -07:00 |
|
Jason Volk
|
a4bb471cf7
|
ircd::openssl/ircd::net: Add presupplied rfc3526 DH parameters.
|
2018-08-29 16:16:55 -07:00 |
|
Jason Volk
|
fcb5965e45
|
ircd::net: Save listener opts and add accessor.
|
2018-08-29 15:52:37 -07:00 |
|
Jason Volk
|
b1aa733d95
|
ircd::db: Additional critical exclusion and interruption zones.
|
2018-08-28 21:53:17 -07:00 |
|
Jason Volk
|
e8e2ca4850
|
ircd::fs: Reorg some #include statements.
|
2018-08-28 20:15:40 -07:00 |
|
Jason Volk
|
5c6874c790
|
ircd::db: Get better required alignments for direct IO.
|
2018-08-28 20:15:40 -07:00 |
|
Jason Volk
|
5dd9b7a3cf
|
ircd::fs: Support for finding the O_DIRECT alignments from system.
|
2018-08-28 20:15:40 -07:00 |
|
Jason Volk
|
76e48b3ef3
|
ircd::ctx: Test for valid then() before calling from here.
|
2018-08-28 18:58:09 -07:00 |
|
Jason Volk
|
d70ef25711
|
ircd::db: Simplify port entry checks.
|
2018-08-28 15:57:49 -07:00 |
|
Jason Volk
|
3833aa70cb
|
ircd::db: Additional trivial vtable placements.
|
2018-08-28 15:44:03 -07:00 |
|
Jason Volk
|
a4e4424ede
|
ircd: Improve main control flow for termination condition during init.
|
2018-08-28 15:04:23 -07:00 |
|
Jason Volk
|
89fbab2d7a
|
ircd::openssl: Add yield points to genprime routine.
|
2018-08-28 13:15:26 -07:00 |
|
Jason Volk
|
0787b5ff71
|
ircd::openssl: Add dhparam generator suite.
|
2018-08-28 13:01:10 -07:00 |
|
Jason Volk
|
0dcaedabff
|
ircd::openssl: Move genrsa_cb to genprime_cb for abstractive reuse.
|
2018-08-28 12:53:34 -07:00 |
|
Jason Volk
|
8340f005da
|
ircd::db: Use terminate() on the request pool on ~init(); log messages.
|
2018-08-28 12:06:56 -07:00 |
|
Jason Volk
|
2b199ae3ed
|
ircd::net/ircd::server/ircd::client: Various cleanup; log messages.
|
2018-08-28 12:06:45 -07:00 |
|
Jason Volk
|
2a11c33c9f
|
ircd::ctx: More list assertions.
|
2018-08-27 01:45:31 -07:00 |
|
Jason Volk
|
cd74a39330
|
ircd::db: Move the write mutex to a global and lock for compaction points too.
|
2018-08-26 20:46:59 -07:00 |
|
Jason Volk
|
edbc0984c5
|
ircd::ctx: Linkage for default and move semantics of ctx::context.
|
2018-08-26 20:46:59 -07:00 |
|
Jason Volk
|
48a436fcc1
|
ircd:Ⓜ️:event: Addl prev utils; simplify before().
|
2018-08-26 07:13:47 -07:00 |
|
Jason Volk
|
02d1cd1115
|
ircd:Ⓜ️ Add central linkage for m::feds::state.
|
2018-08-26 07:13:47 -07:00 |
|
Jason Volk
|
0a9fdda893
|
ircd::allocator: Add state::available(n) query.
|
2018-08-25 18:46:54 -07:00 |
|
Jason Volk
|
2424208a01
|
ircd::json: Reverse number's <alternative>.
|
2018-08-25 15:06:17 -07:00 |
|
Jason Volk
|
41dd3cca29
|
ircd::resource: Better debug log indication of chunked encoding response.
|
2018-08-25 13:59:22 -07:00 |
|
Jason Volk
|
74bb040b8c
|
ircd::resource: Make response head buffer size a named const; fix comment.
|
2018-08-25 13:58:49 -07:00 |
|
Jason Volk
|
170475f374
|
ircd:Ⓜ️ Add user::events iterator w/ console cmd.
|
2018-08-24 14:01:32 -07:00 |
|
Jason Volk
|
bf234c77a4
|
ircd:Ⓜ️:user: Ensure bools are returned from iteration closures here.
|
2018-08-24 13:55:33 -07:00 |
|
Jason Volk
|
0b98144cfe
|
ircd::db: Minor cleanup; assertions.
|
2018-08-24 10:59:22 -07:00 |
|
Jason Volk
|
0f79ad7b08
|
ircd:Ⓜ️:room: Officiate random_origin w/ central linkage; use view closure.
|
2018-08-24 04:19:55 -07:00 |
|
Jason Volk
|
84f4cbd359
|
ircd::db: Serialize entry to rdb's write impl to circumvent pthread deadlock.
|
2018-08-24 03:40:37 -07:00 |
|
Jason Volk
|
c94b6f02ca
|
ircd::db: Options package; no DIO writes
|
2018-08-24 03:40:25 -07:00 |
|
Jason Volk
|
5825b21231
|
ircd::fs: Disable fsync()/fdatasync() via AIO for now.
|
2018-08-24 00:40:35 -07:00 |
|
Jason Volk
|
1450678b83
|
ircd::db: Plug remaining filesystem operations into ircd::fs / AIO.
|
2018-08-24 00:40:35 -07:00 |
|
Jason Volk
|
e0024b82ea
|
ircd::fs: Use fallocate() rather than posix_fallocate(); add keep_size.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
6f2eeaec67
|
ircd::db: Full dressing on the environment.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
f666728d37
|
ircd::fs: Add assertion; minor.
|
2018-08-23 23:08:41 -07:00 |
|
Jason Volk
|
e3827124e9
|
ircd::fs: Use lseek() for size(fd) overload.
|
2018-08-23 23:08:22 -07:00 |
|
Jason Volk
|
79d4c15ff5
|
ircd::fs: Deinline and improve append() related.
|
2018-08-23 23:08:22 -07:00 |
|
Jason Volk
|
55b2b128c6
|
ircd::fs: Add an fallocate wrapper for now.
|
2018-08-23 21:24:35 -07:00 |
|
Jason Volk
|
0ce45b50d6
|
ircd::fs: Add truncate() suite.
|
2018-08-23 21:24:19 -07:00 |
|
Jason Volk
|
888862ec56
|
ircd::fs: Deinline and improve overwrite() suite.
|
2018-08-23 21:23:42 -07:00 |
|
Jason Volk
|
ec0670262e
|
ircd::db: Give some env callbacks handlers.
|
2018-08-23 18:57:24 -07:00 |
|
Jason Volk
|
bbcddbcf5b
|
ircd::db: Use our fs::size() for file sizing env callback.
|
2018-08-23 05:37:32 -07:00 |
|
Jason Volk
|
29d4ec71d5
|
ircd::db: Update env exception handlers to propagate to rocksdb.
|
2018-08-23 04:20:16 -07:00 |
|
Jason Volk
|
f630c28439
|
ircd::db: Add error_to_status conversion for rocksdb::Status.
|
2018-08-23 04:19:32 -07:00 |
|
Jason Volk
|
585f6c97c3
|
ircd::db: Minor cleanup.
|
2018-08-23 04:16:49 -07:00 |
|
Jason Volk
|
1a1002c96d
|
ircd::fs: Propagate error_code through exception system; improve stack.
|
2018-08-23 03:31:36 -07:00 |
|
Jason Volk
|
ed6dc56d35
|
ircd: Add make_error_code(std::system_error) for completeness.
|
2018-08-23 03:23:59 -07:00 |
|
Jason Volk
|
671170afb4
|
ircd::db: Use an ircd::assertive so failure happens in optimized mode here.
|
2018-08-23 02:19:28 -07:00 |
|
Jason Volk
|
824e3305a4
|
ircd::db: Implement WaitForJoin() to wait on all ctx pool joins.
|
2018-08-23 02:16:44 -07:00 |
|
Jason Volk
|
d01430e64a
|
ircd::db: Replace default sleep() callback with ctx::sleep().
|
2018-08-23 02:14:50 -07:00 |
|
Jason Volk
|
5239e49f4f
|
ircd::db: Improve opts related for random_access_file; minor cleanup.
|
2018-08-23 01:54:58 -07:00 |
|
Jason Volk
|
7698759d04
|
ircd::db: Integrate env::sequential_file with AIO.
|
2018-08-23 01:54:18 -07:00 |
|
Jason Volk
|
1748ff843b
|
ircd::info: Sample system page size from sysconf().
|
2018-08-23 01:09:11 -07:00 |
|
Jason Volk
|
cbd149b650
|
ircd:Ⓜ️:room::origins: Add a bool for_each() to eventually replace test().
|
2018-08-22 17:42:35 -07:00 |
|
Jason Volk
|
f48ec4a6a4
|
ircd::resource: Minor cleanup.
|
2018-08-22 15:17:55 -07:00 |
|
Jason Volk
|
2b4a727671
|
ircd::client: Client pool conf item notify callback to effect update.
|
2018-08-22 14:37:52 -07:00 |
|
Jason Volk
|
b753637385
|
ircd::db: request pool conf item set callback.
|
2018-08-22 14:37:52 -07:00 |
|
Jason Volk
|
6cdb1bba63
|
ircd::ctx: Add pool::set convenience.
|
2018-08-22 14:37:40 -07:00 |
|
Jason Volk
|
ea172a3378
|
ircd::conf: Add set callback notification.
|
2018-08-22 14:02:09 -07:00 |
|
Jason Volk
|
63aa8e310e
|
ircd::conf: Restructure virtuals to direct all entry through parent.
|
2018-08-22 13:57:03 -07:00 |
|
Jason Volk
|
b964f9520f
|
ircd::db: max_open_files must NOT be 0 or files are open/close too often.
|
2018-08-22 13:13:03 -07:00 |
|
Jason Volk
|
de973740e3
|
ircd::db: Additional db env debug log.
|
2018-08-22 12:56:17 -07:00 |
|
Jason Volk
|
23d0c7384d
|
ircd::db: Catch everything here because there's nowhere else to go.
|
2018-08-21 08:49:11 -07:00 |
|
Jason Volk
|
a4e1162ae2
|
ircd:Ⓜ️:room: Pass db get options to the iterations.
|
2018-08-21 08:48:42 -07:00 |
|
Jason Volk
|
3a4817354e
|
ircd:Ⓜ️ Add room state types iteration.
|
2018-08-21 08:37:44 -07:00 |
|
Jason Volk
|
7fb2a825a1
|
ircd::ctx: Minor cleanup.
|
2018-08-21 08:10:37 -07:00 |
|
Jason Volk
|
57ea362daa
|
ircd::ctx: Fix stale comment.
|
2018-08-21 04:57:36 -07:00 |
|
Jason Volk
|
b3ff44d0fb
|
ircd::db: Fix the cache insert misapprehensions.
|
2018-08-21 00:49:40 -07:00 |
|
Jason Volk
|
6d3eb3ae85
|
fixup! ircd::db: Fix cache iteration interpretation.
|
2018-08-21 00:42:13 -07:00 |
|
Jason Volk
|
ca0dcd36e4
|
ircd::db: Supply fs::uuid in this env callback.
|
2018-08-21 00:21:06 -07:00 |
|
Jason Volk
|
1f8a756f23
|
ircd::db: Comment / minor cleanup.
|
2018-08-21 00:20:54 -07:00 |
|
Jason Volk
|
0f021e09d4
|
ircd::db: Fix cache iteration interpretation.
|
2018-08-21 00:20:30 -07:00 |
|
Jason Volk
|
11f266aa37
|
ircd::db: Fix exclusion and lock option required for cache iteration.
|
2018-08-21 00:19:53 -07:00 |
|
Jason Volk
|
35a0f1ea51
|
ircd::aio: Various cleanup.
|
2018-08-20 22:57:33 -07:00 |
|
Jason Volk
|
32285d5dac
|
ircd::fs: Add a uuid-ish util for an fd.
|
2018-08-20 22:44:39 -07:00 |
|
Jason Volk
|
99ed82f52d
|
ircd:Ⓜ️ Remove the listeners first on deinit.
|
2018-08-19 20:19:43 -07:00 |
|
Jason Volk
|
85d4a4f5ed
|
ircd::ctx: Further tweak interruption masking semantics.
|
2018-08-19 20:11:41 -07:00 |
|
Jason Volk
|
d4c51a2d45
|
ircd::db: Disable interruption for rocksdb entry surface.
|
2018-08-19 20:11:41 -07:00 |
|
Jason Volk
|
ff66bc441c
|
ircd::ctx: Stack uninterruptible's gracefully; assume context.
|
2018-08-19 20:11:41 -07:00 |
|
Jason Volk
|
c7080bf144
|
ircd::db: Disable interruption for these env surfaces.
|
2018-08-19 20:11:40 -07:00 |
|
Jason Volk
|
d4b98e04e9
|
ircd::db: Minor cleanup.
|
2018-08-19 18:35:42 -07:00 |
|