0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-25 20:08:40 +02:00
Commit graph

3711 commits

Author SHA1 Message Date
Jason Volk 4668545688 modules: Move federation/federation to s_feds. 2019-04-18 16:38:53 -07:00
Jason Volk 0edd47d383 ircd:Ⓜ️:feds: Add vector of operations to API. 2019-04-18 15:26:03 -07:00
Jason Volk 6eeb8da71d ircd:Ⓜ️ Try for outer membership property first before parsing content. 2019-04-18 14:35:46 -07:00
Jason Volk 4d6eb23352 ircd: Use unwind::defer to enter run::level::HALT. 2019-04-18 05:46:20 -07:00
Jason Volk c6a59ab6b1 ircd::util: Add an unwind::defer device. 2019-04-18 05:46:07 -07:00
Jason Volk 5232893c6a ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related. 2019-04-18 05:17:49 -07:00
Jason Volk bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk 59982907d3 ircd:Ⓜ️:feds: Add feds::auth; update console cmd. 2019-04-18 04:13:21 -07:00
Jason Volk 871fb748eb ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch. 2019-04-18 01:21:22 -07:00
Jason Volk 477090ff52 ircd::server: Minor assertions. 2019-04-18 01:19:02 -07:00
Jason Volk 91bed23951 ircd::allocator: Meet posix spec requirements for posix_memalign(). 2019-04-18 00:59:56 -07:00
Jason Volk 51b3e63959 ircd::allocator: Include aligned allocs in profile. 2019-04-18 00:59:56 -07:00
Jason Volk 128b770429 ircd::buffer: Move aligned_alloc to ircd::allocator; deinline. 2019-04-18 00:21:08 -07:00
Jason Volk 0fa4bdcff7 ircd:Ⓜ️:rooms: Consolidate / refine the rooms iteration interface. 2019-04-17 20:47:50 -07:00
Jason Volk 25680a8ed2 ircd: Move smalldate() to date.h from logger unit. 2019-04-17 19:27:26 -07:00
Jason Volk 4d3727a0a1 ircd::fs: Condition various runtime support on compilation too. 2019-04-17 19:19:30 -07:00
Jason Volk 1eaff2e91e ircd::fs: Runtime binding for pwritev(2)/pwritev2(2) based on kernel version. 2019-04-17 19:19:30 -07:00
Jason Volk 6fbf882e16 ircd::fs: Use GNU indirect function binding to efficiently support RWF_APPEND at runtime. 2019-04-17 19:09:16 -07:00
Jason Volk 62441e1c68 ircd: Switch to lazy-loading libircd.so symbols. 2019-04-17 17:29:08 -07:00
Jason Volk 08b53b1746 ircd::vg: Start a valgrind emulator hypercall suite. 2019-04-17 00:59:52 -07:00
Jason Volk 83193d0ff9 ircd::server: Add an op_open; handle control return to link::open(). 2019-04-16 22:37:44 -07:00
Jason Volk 0f404a0bda ircd::net: Addition assertions; use constrefs in handler cbs. 2019-04-16 21:39:43 -07:00
Jason Volk 945ce126c5 ircd::net: Remove explicit string conversion. 2019-04-16 21:11:39 -07:00
Jason Volk 9a44188c00 ircd::net Increase buffer sizes. 2019-04-16 21:11:27 -07:00
Jason Volk 46acff07b7 ircd::server: Elide allocations for these stringifies. 2019-04-16 20:57:06 -07:00
Jason Volk 4038973297 ircd::util: Use allocator::node for instance_list instances. 2019-04-16 20:48:00 -07:00
Jason Volk 7c6c60960f ircd::net: Improve various callback fini/error conditions. 2019-04-16 20:10:24 -07:00
Jason Volk 6bf3ccb7b5 ircd::net: Bypass call to current_cipher() on error conditions. 2019-04-16 20:10:24 -07:00
Jason Volk a24d3a1d96 ircd::net: Prevent any handshake on finished socket out of handle_connect. 2019-04-16 20:10:23 -07:00
Jason Volk ff25a486a0 ircd::net: Bail from handle_verify() on socket fini. 2019-04-16 20:10:23 -07:00
Jason Volk 3b832db9a4 ircd::net: Add traps under reject()s. 2019-04-16 20:00:17 -07:00
Jason Volk 903a6e7f57 ircd::server: Copy the eptr so it doesn't get robbed on forwarding constructions. 2019-04-16 19:04:23 -07:00
Jason Volk 8cfc9e832e ircd::net: Fix scope_timeout move assignment. 2019-04-16 18:33:01 -07:00
Jason Volk af1bd92b26 ircd::spirit: Apply hidden visibility to all headers + our internal grammar namespaces. 2019-04-16 18:33:01 -07:00
Jason Volk 5fee4a9933 ircd:Ⓜ️:events: Add type-based iteration w/ console cmd. 2019-04-16 16:11:23 -07:00
Jason Volk fb199fbc01 ircd::rfc3986: Fix duration of constructed validator rules; improve grammar branches. 2019-04-16 16:11:23 -07:00
Jason Volk 9b00c65ef6 ircd:Ⓜ️:events: Add additional lighter-weight event_idx iteration tools. 2019-04-16 16:11:23 -07:00
Jason Volk d96208faaf ircd:Ⓜ️:events: Add iteration tools for events in sender/origin. 2019-04-16 16:11:23 -07:00
Jason Volk ecbdf00f22 ircd:Ⓜ️:dbs: Add event_type metadata column. 2019-04-16 16:11:23 -07:00
Jason Volk 8148dc6502 ircd:Ⓜ️:dbs: Add event_sender metadata column. 2019-04-16 15:04:31 -07:00
Jason Volk 25d153d64c ircd:Ⓜ️:sync: Add an initial phase convenience; add account_data as an initial phase. 2019-04-16 01:32:52 -07:00
Jason Volk f17e521ff8 ircd::ios: Objectify the asio enqueuing wrappers. 2019-04-16 01:32:52 -07:00
Jason Volk 5d04c8c607 ircd::net: Shortcut string creation on closed / lame sockets. 2019-04-15 22:47:24 -07:00
Jason Volk b51d5d1461 ircd::net: Add TLS buffers for various stringifies. 2019-04-15 22:47:24 -07:00
Jason Volk 2b759963bd modules/s_listen: Add accept flow control mechanism. 2019-04-15 22:47:24 -07:00
Jason Volk 74a28f2f10 ircd::net: Tweak calls to set socket non-blocking. 2019-04-15 22:47:24 -07:00
Jason Volk 92cdccf956 ircd::net: Add parent ssl_cipher conf items; add curve items. 2019-04-15 22:16:16 -07:00
Jason Volk 889b65a002 ircd::net: Additional traps / assertions. 2019-04-15 17:09:35 -07:00
Jason Volk b56df6677e ircd::server: Set SNI explicitly here rather than through fallback.
ircd::server: Detect IP literal to set the peer::remote/open_opts directly.
2019-04-15 17:09:32 -07:00
Jason Volk 7d021f9430 ircd::server: Rename server_name to server_version. 2019-04-15 15:23:44 -07:00
Jason Volk 9b9f44d863 ircd::net: Skip call to set server_name when no server_name. 2019-04-15 15:23:44 -07:00
Jason Volk 0e0d95b266 ircd::ctx: Fix comment error. 2019-04-15 14:44:58 -07:00
Jason Volk 7a055e22ef ircd::server: Disassociate tag from request on cancel. 2019-04-15 11:43:53 -07:00
Jason Volk f9025cebb9 ircd: Support read-only and write-avoid modes via conf item / command line. 2019-04-15 11:16:31 -07:00
Jason Volk 726f131cc2 ircd::fs::aio: Use defer to post the chaser. 2019-04-12 17:32:53 -07:00
Jason Volk 58c5ac7855 ircd::ios: Add asio::defer() to interface. 2019-04-12 16:26:34 -07:00
Jason Volk 8c68a24e1f ircd::ctx::prof: Add cycle counter to ticker array. 2019-04-12 15:58:06 -07:00
Jason Volk 0ce0fe3890 ircd::server: Enable the cancel debug msg.
modules/s_fetch: Improve log level.
2019-04-12 14:26:10 -07:00
Jason Volk 15bd7282c7 ircd::db: Use rvalue refs here. 2019-04-12 09:36:53 -07:00
Jason Volk 14c32a2075 ircd::http: Support HTTP/1.0. 2019-04-12 08:36:17 -07:00
Jason Volk 34e35d97fe ircd::server: Additional assertions. 2019-04-12 07:12:49 -07:00
Jason Volk 79475d2ba3 ircd::net: Set socket non-blocking after handshake. 2019-04-12 05:54:11 -07:00
Jason Volk 2822cd0a8a ircd:Ⓜ️:fetch: Add headfill operation. 2019-04-12 05:09:38 -07:00
Jason Volk e5b2700db3 ircd:Ⓜ️:v1: Allow empty user_id argument to have a fallback. 2019-04-12 04:45:25 -07:00
Jason Volk eb33688bc1 ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk 7d27126f96 ircd:Ⓜ️:room: Add any_user() convenience. 2019-04-12 04:44:26 -07:00
Jason Volk c14d67102a ircd:Ⓜ️:fetch: Reorient interface to expose fetch::request. 2019-04-12 03:35:46 -07:00
Jason Volk eace5e309c ircd:Ⓜ️:feds: Add / upgrade backfill. 2019-04-12 01:53:57 -07:00
Jason Volk 360cc01dc8 ircd:Ⓜ️:feds: Migrate feds::perspective() to interface. 2019-04-12 00:55:16 -07:00
Jason Volk 302969f100 ircd:Ⓜ️:feds: Add namespace \brief. Reorg impl layout. 2019-04-12 00:33:29 -07:00
Jason Volk dc93610914 ircd:Ⓜ️:feds: Add feds::event to interface. 2019-04-12 00:16:27 -07:00
Jason Volk 3865326d71 ircd::server: Add additional loghead(link, request) with more data. 2019-04-11 22:26:11 -07:00
Jason Volk 4f27526e9b ircd::server: Add monotonic identity counters for peers and links. 2019-04-11 22:26:11 -07:00
Jason Volk d38c5801c9 ircd::server: Add interface to iterate all requests. 2019-04-11 21:40:59 -07:00
Jason Volk 5f1f0d0d7f ircd::server: Distill out functions to parse HTTP head from in/out buffers. 2019-04-11 21:13:42 -07:00
Jason Volk 9a6c5f5fe4 ircd::server: Don't parse from outbound buffer for canceled requests. 2019-04-11 20:49:29 -07:00
Jason Volk eef869691a ircd::client: Tap the client::dock on all dtors. 2019-04-11 08:53:38 -07:00
Jason Volk 7794a92159 ircd::exception: Avoid repeating the system_error message string. 2019-04-11 07:50:48 -07:00
Jason Volk c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk 39ac003522 ircd:Ⓜ️:v1: Fallback to generating random user_id's for make_join. 2019-04-11 05:14:44 -07:00
Jason Volk 6d15db176d ircd::net: Fix mislabeled ios::descriptor. 2019-04-10 22:59:23 -07:00
Jason Volk 74778bd024 ircd::ios: Add a queued handler counter to stats. 2019-04-10 22:54:13 -07:00
Jason Volk 1d45f0bc5b ircd::net: Remove this prefetch. 2019-04-10 22:35:11 -07:00
Jason Volk be18a1874d ircd::db: Increase file size target default. 2019-04-10 22:32:06 -07:00
Jason Volk 562651aa7d ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various. 2019-04-10 22:32:06 -07:00
Jason Volk 3a57cc8c94 ircd::db::port: Allow icf on impl defs. 2019-04-10 22:32:06 -07:00
Jason Volk 446964bb67 ircd::server: Apply stack protected canary on key frames. 2019-04-10 22:32:06 -07:00
Jason Volk 0b51a10a44 ircd::fs::aio: Count io_submit() 'stalls' in stats. 2019-04-10 20:18:51 -07:00
Jason Volk ba46e8c005 ircd::fs::aio: Move for_each_completed() to central interface; add additional utils. 2019-04-10 20:18:51 -07:00
Jason Volk 4f4019a2a0 ircd:Ⓜ️ Add id::USER case to room_id(). 2019-04-10 20:18:50 -07:00
Jason Volk ce9a9e58b4 ircd::fs: Switch to syscall_usage_warning for io_submit and fsync et al. 2019-04-10 20:18:50 -07:00
Jason Volk d8bf5b9fff ircd::ctx: Add a syscall_usage_warning to suite. 2019-04-10 20:18:50 -07:00
Jason Volk 96ff7022d0 ircd::prof: Add a coarse enable conf item. 2019-04-10 01:29:25 -07:00
Jason Volk 06e7b16ed5 ircd::mods: Stub internal dlsym() hooker. 2019-04-09 21:27:45 -07:00
Jason Volk a1863ba3b2 ircd::fs: Minor cleanup. 2019-04-09 21:08:15 -07:00
Jason Volk 5c558f98b6 ircd: Remove the initfirst linker request option. 2019-04-09 21:08:15 -07:00
Jason Volk 5c359f22f3 ircd::net::socket: Change behavior of non-blocking read_() calls to not throw for EAGAIN. 2019-04-09 21:08:15 -07:00
Jason Volk 3a9e85c294 ircd::net::addrs: Tweak interface detail; workaround issues. 2019-04-09 20:05:48 -07:00
Jason Volk f268d6e29a ircd::fs::aio: Fix argument initialization. 2019-04-09 19:00:24 -07:00
Jason Volk a8b536e420 modules/client/sync: Improve phased initial sync by bursting full room list at phase 0. 2019-04-08 04:43:23 -07:00