0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 01:09:05 +02:00
Commit graph

9114 commits

Author SHA1 Message Date
Jason Volk 124f62d159 Revert "ircd::db: Lock writes after memtable sealed until flush to prevent rocksdb pthread use."
This reverts commit c370cdc123.
2019-04-22 19:08:01 -07:00
Jason Volk 4b3a828c01 modules/s_fetch: Log errors from the fetch hook handler. 2019-04-22 18:55:34 -07:00
Jason Volk ee6760a655 modules/s_fetch: Tweak prev event checking options; fix condition; dispatch state_ids(). 2019-04-22 18:55:34 -07:00
Jason Volk 58384a25c7 modules/console: Allow empty arguments to fed cmd. 2019-04-22 18:30:08 -07:00
Jason Volk d417c7779e modules/m_room_history_visibility: Massage the rules. 2019-04-22 18:30:08 -07:00
Jason Volk 6df0b72e21 modules/s_fetch: Various conditions to bypass fetch. 2019-04-22 18:30:08 -07:00
Jason Volk 1dd2f3daa7 appveyor: Build without --enable-debug. 2019-04-22 17:06:13 -07:00
Jason Volk 306752b2a5 ircd::fs::aio: Remove erroneous #define. 2019-04-22 16:59:03 -07:00
Jason Volk c370cdc123 ircd::db: Lock writes after memtable sealed until flush to prevent rocksdb pthread use. 2019-04-22 16:32:40 -07:00
Jason Volk a61d04a9c2 ircd::fs: Allow ircd.fs.aio.max_submit=0 to indicate max possible. 2019-04-22 15:40:34 -07:00
Jason Volk c6d056421d ircd::db: Log warning when crc32c acceleration is not available. 2019-04-22 15:24:07 -07:00
Jason Volk ae4ae66f08 modules/client/sync/rooms: Show membership string in debug msg. 2019-04-22 14:47:06 -07:00
Jason Volk dca95cd1e3 modules/m_direct: Modify the user's account_data for m.direct. 2019-04-22 14:30:55 -07:00
Jason Volk 7117e943ed modules/client/rooms/leave: Call m::leave() to handle POST /leave/. 2019-04-22 14:27:12 -07:00
Jason Volk 4d491340b6 modules/client/rooms/leave: Add missing m::leave definition. 2019-04-22 14:27:12 -07:00
Jason Volk fd9097cfd4 modules/m_room: Move m::send impl back to client/rooms. 2019-04-22 14:27:12 -07:00
Jason Volk f3845e11af modules/client/rooms/join: Export namespaced definitions for join. 2019-04-22 14:27:12 -07:00
Jason Volk f6314a4201 modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize(). 2019-04-22 12:45:45 -07:00
Jason Volk 7d3ccb975a modules/s_fetch: Add dispatch and wait logic to fetch hook handler. 2019-04-22 12:28:45 -07:00
Jason Volk e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk 56dd0ed8e7 ircd:Ⓜ️:vm: Add opts to pass user_id/node_id of evaluator. 2019-04-22 12:25:50 -07:00
Jason Volk b683f1d436 modules/vm: Assert options; prevent assignment of eval. 2019-04-22 12:23:37 -07:00
Jason Volk 4c44738dc3 ircd::server: Increase tls buffer size. 2019-04-22 12:13:34 -07:00
Jason Volk e0b4dc4450 ircd::server: Use a uniform log prefix for link related. 2019-04-22 12:13:27 -07:00
Jason Volk d6374466f3 ircd::fs::aio: Test for blocking flag rather than option if available. 2019-04-22 09:45:14 -07:00
Jason Volk c04708aca4 ircd::fs::aio: Minor tweak call pattern for wait(request). 2019-04-22 09:29:09 -07:00
Jason Volk acd774c3ee ircd::fs: Make ~fd() noexcept. 2019-04-22 09:16:11 -07:00
Jason Volk 7d55468511 ircd::fs: Add fd::opts getter from open fd. 2019-04-22 09:14:46 -07:00
Jason Volk d08bcc2f32 ircd::fs: Add fd::release() memfn. 2019-04-22 08:55:42 -07:00
Jason Volk f145c6774a ircd::fs: Rename function. 2019-04-21 04:15:10 -07:00
Jason Volk 1137f8a29b ircd::fs::aio: Fix waiting on cancels; various fixes. 2019-04-21 04:15:10 -07:00
Jason Volk 003f9f771a ircd::fs: Break from read()/write() loops for non-blocking operations without exception. 2019-04-20 22:28:15 -07:00
Jason Volk bbc5d9ee5b ircd::fs::aio: Improve error assumptions / reporting around io_submit(). 2019-04-20 22:28:15 -07:00
Jason Volk dae1a9be4a ircd::db::env: Assert rocksdb does not call prefetch with direct-io. 2019-04-20 19:29:07 -07:00
Jason Volk 900fab1e79 ircd::fs: Propagate EAGAIN without exception for !opts.blocking operations. 2019-04-20 19:29:07 -07:00
Jason Volk fbcd38fa17 ircd::fs: Add a preliminary fincore(1)-like tool. 2019-04-20 19:24:18 -07:00
Jason Volk c4ace8cd8e ircd::client: Remove deprecated SSL_R_SHORT_READ for OpenSSL 1.1. 2019-04-20 19:24:18 -07:00
Jason Volk 2a0b3994f9 ircd: Apply low-memory compile flags to spirit.h.gch. 2019-04-20 19:24:18 -07:00
Jason Volk 2463bfb4ed ircd::openssl: Address remaining 1.0 vs. 1.1 compat. 2019-04-20 19:24:18 -07:00
Jason Volk 744438ec49 ircd: Precompile the spirit.h header. 2019-04-20 19:24:18 -07:00
Jason Volk 21a62019f2 modules/vm: Simplify error wrapping on propagation. 2019-04-20 15:03:51 -07:00
Jason Volk db539c6268 ircd::db: Add write-ahead-log recovery callback surface. 2019-04-20 14:30:42 -07:00
Jason Volk bbc472ad9e modules/s_feds: Devirtualize call to destructor. 2019-04-20 14:20:18 -07:00
Jason Volk 8dd201bfdb ircd::openssl: Fix compatibility in assert statement. 2019-04-20 13:26:38 -07:00
Jason Volk 4db52804cb ircd::ctx: Use iteration closure rather than exposing ctx::list. 2019-04-19 20:50:22 -07:00
Jason Volk bf3a23b8d2 construct/console: Eliminate extra sleep() after output done. 2019-04-19 19:07:12 -07:00
Jason Volk 454051f9f3 modules/client/sync: Condition for client / socket in longpoll::poll loop. 2019-04-19 18:21:17 -07:00
Jason Volk 9b034a0df4 ircd::openssl: Partial OpenSSL 1.1.x compatibility. 2019-04-19 18:17:28 -07:00
Jason Volk 53fed2c4e9 ircd::util: Null the instance_list allocator ptr after use. 2019-04-19 17:42:34 -07:00
Jason Volk 91a7426899 ircd::util: Fix list node allocation related in optimized builds. 2019-04-19 16:35:50 -07:00