0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-07 19:18:35 +02:00
Commit graph

8554 commits

Author SHA1 Message Date
Jason Volk 87144cef77 ircd::fs: Support various RWF flags for operations; also preadv2(). 2019-03-14 12:45:00 -07:00
Jason Volk 56092db18c ircd::fs: Move the reqprio() normalizer from fs::aio:: to fs::. 2019-03-13 19:39:20 -07:00
Jason Volk 02435c3672 ircd::fs: Support pwritev2(2). 2019-03-13 19:38:50 -07:00
Jason Volk 034c2d9030 ircd:Ⓜ️ Stack protect around dynamic arrays used here. 2019-03-13 19:38:50 -07:00
Jason Volk 1117947a22 ircd::fs::aio: Add support test for RWF_NOWAIT and RWF_APPEND. 2019-03-13 19:38:47 -07:00
Jason Volk 213c46d9f8 ircd::net: Add interface to get cipher list from acceptor w/ console cmd. 2019-03-13 17:32:39 -07:00
Jason Volk 8daddfb84a ircd::net::listener: Add cast for internal acceptor access. 2019-03-13 17:32:16 -07:00
Jason Volk 1f35e9c57e modules/m_event: Add option to toggle query for txnid; disable query for non-timeline appends. 2019-03-13 17:08:35 -07:00
Jason Volk 9f67a146f4 modules/m_event: Unconditionally supply an age when no event_idx. 2019-03-13 17:08:35 -07:00
Jason Volk 92ba96cdf1 modules/vm: Move the post_hook execution before the write commitment. 2019-03-13 16:45:22 -07:00
Jason Volk 69f1fe7241 ircd::db: Fix macro condition. 2019-03-13 16:11:29 -07:00
Jason Volk eb7c7f07a7 ircd::fs::aio: Derive availability of IOCB_CMD_FSYNC / IOCB_CMD_FDSYNC. 2019-03-13 16:06:41 -07:00
Jason Volk 0158e88949 ircd::info: Get kernel name and version out of utsname if available. 2019-03-13 16:06:41 -07:00
Jason Volk 4c6e943d49 ircd::http: Simplify conditional. 2019-03-13 15:33:48 -07:00
Jason Volk d6e97f6aab ircd::net: Send server name identification when opening client connections. 2019-03-13 13:44:41 -07:00
Jason Volk 59f63841ba ircd::openssl: Interface to set server name indication for client hello. 2019-03-13 13:32:56 -07:00
Jason Volk fee9222e70 ircd::rfc1035: Fix assertion and enforce name limitations. 2019-03-13 13:32:47 -07:00
Jason Volk 15b25894d3 ircd::client: Fix response code from header parse failure handler. 2019-03-13 13:11:53 -07:00
Jason Volk b3526298a9 ircd::net::acceptor: Rename logger to net.listen. 2019-03-13 13:11:53 -07:00
Jason Volk cb979d96e7 ircd::net::acceptor: Add callback stack framework for dynamic server name identification. 2019-03-13 13:11:53 -07:00
Jason Volk 641a5546ae ircd::net: Fix acceptor's inheritance of net::listener::error. 2019-03-13 13:11:53 -07:00
Jason Volk 71560eafd1 ircd::openssl: Include TLS1 header; start an SNI suite; minor reorg. 2019-03-13 13:11:53 -07:00
Jason Volk d8ee9e9a10 ircd::net: Use more grammars in net::hostport construction. 2019-03-13 13:11:53 -07:00
Jason Volk 50e7d81d36 ircd::rfc3986: Add interface to extract host and port from remote via grammar. 2019-03-13 13:11:53 -07:00
Jason Volk f955f1d494 ircd::rfc3986: Add length checks to validations; consolidate validation paths from rfc1035. 2019-03-13 13:11:51 -07:00
Jason Volk dc377ea695 ircd::rfc1035: Add size constexprs. 2019-03-13 13:10:25 -07:00
Jason Volk 74c7d1d5c1 ircd::rfc1035: Add interface for validations. 2019-03-13 10:14:44 -07:00
Jason Volk a2c9b115a8 modules/console: Fix conf set cmd argument to read remainder of line for value. 2019-03-12 18:41:05 -07:00
Jason Volk 721039f359 ircd::net::acceptor: Add conf::item to blacklist ciphers out of the supported cipher list. 2019-03-12 18:41:05 -07:00
Jason Volk e4fd5111fa ircd::openssl: Add overload to get cipher list from SSL_CTX. 2019-03-12 18:41:05 -07:00
Jason Volk 969a15c341 ircd::net::acceptor: Add conf::item to specify a default whitelist of ciphers in openssl format. 2019-03-12 18:41:05 -07:00
Jason Volk a81038acfa modules/s_dns: Randomly select an A record for single-record callback. 2019-03-12 18:41:05 -07:00
Jason Volk 72fe68bb29 ircd::stats: Start a preliminary stats system. 2019-03-12 18:41:05 -07:00
Jason Volk f745787ce4 modules/client/sync: Check if the client is still alive during longpoll. 2019-03-12 18:41:05 -07:00
Jason Volk 38f7d61020 ircd::net::socket: Add non-blocking check() query with interface. 2019-03-12 18:41:05 -07:00
Jason Volk 303233cda4 ircd::client: Prevent double logging of caught HTTP errors. 2019-03-12 18:41:05 -07:00
Jason Volk fe778e6ae4 modules/client/sync/rooms: Remove unnecessary checkpoint. 2019-03-12 18:41:05 -07:00
Jason Volk 425364f13e modules/client/sync/rooms/state: Fix missing append. 2019-03-12 18:41:05 -07:00
Jason Volk 06459e655e modules/client/sync/to_device: Fix improper seek. 2019-03-12 18:41:05 -07:00
Jason Volk 28b8306542 ircd::rfc1035: Throw error when name output buffer exceeded. 2019-03-12 18:41:05 -07:00
Jason Volk 4f243826c2 ircd: Remove use of all unwind::exceptional and unwind::nominal devices. 2019-03-12 18:41:05 -07:00
Jason Volk 2956183db9 modules/s_dns_resolver: Fix bug. 2019-03-11 18:18:58 -07:00
Jason Volk ae4dc7db9b ircd::net::dns: Add a named logger specifically for net::dns; addl debug msgs. 2019-03-11 18:16:04 -07:00
Jason Volk 981cdf03aa modules/s_dns_resolver: Consolidate tag removal paths; ensure removals from sendq. 2019-03-11 17:39:45 -07:00
Jason Volk 92d1416ecc ircd::fs::aio: Use a pointer to request rather than initial dereference. 2019-03-11 16:36:56 -07:00
Jason Volk 9f8b915317 modules/m_event: Conditionally add prev_content to events sent to clients. 2019-03-11 16:18:36 -07:00
Jason Volk c416be8398 modules: Replace individual client event appending with m::append(). 2019-03-11 16:02:48 -07:00
Jason Volk c4c95916c2 ircd:Ⓜ️ Add central event append() to compose elaborated json::stack::object for clients. 2019-03-11 16:02:36 -07:00
Jason Volk f61059a400 ircd:Ⓜ️:room::state: Add prev() and next() reference traversal interface. 2019-03-11 15:06:54 -07:00
Jason Volk 3444bed245 ircd:Ⓜ️:dbs: Add a reverse reference for previous state in event refs index. 2019-03-11 14:46:11 -07:00