0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 12:28:52 +01:00
Commit graph

8535 commits

Author SHA1 Message Date
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
Jason Volk
06c548699a ircd:Ⓜ️:dbs: Add a previous state reference to refs meta index. 2019-03-11 13:40:25 -07:00
Jason Volk
5b3191345f ircd::client: Set some client::request values immediately after head parse. 2019-03-11 13:20:14 -07:00
Jason Volk
ffc652706f modules/s_dns_resolver: Change the server list token to a space. 2019-03-11 12:57:36 -07:00
Jason Volk
6f6e090015 modules/s_dns_resolver: Gracefully handle erroneous server list; error on entirely invalid list. 2019-03-11 12:57:36 -07:00
Jason Volk
d474eed948 ircd::conf: Add more elaborate double-fault handling. 2019-03-11 12:53:22 -07:00
Jason Volk
9930d2ce8f modules/s_dns_resolver: Queue tags when no nameserver is available. 2019-03-11 11:54:19 -07:00
Jason Volk
499d9c7c6e ircd::conf: Revert conf item if setter or set callback fails. 2019-03-11 11:27:57 -07:00
Jason Volk
1fa5ebc415 ircd::conf: Add allocated string get() overloads. 2019-03-11 11:27:57 -07:00
Jason Volk
8353d0a7e9 ircd::conf: Add a size virtual member function to get value size as string. 2019-03-11 11:27:57 -07:00
Jason Volk
daee236126 modules/client: Remove 308 redirects for unstable endpoints. 2019-03-11 10:43:06 -07:00
Jason Volk
e90e4aba42 modules/client/keys/upload: Disable one_time_keys; otherwise it spams the user's room. 2019-03-10 20:47:50 -07:00
Jason Volk
c39d33ae36 configure: Enable gdwarf-4; add -fvar-tracking-assignments in non-optimized mode. 2019-03-10 19:28:53 -07:00
Jason Volk
9d59074679 ircd::fs::aio: Don't cancel requests which were already completed. 2019-03-10 19:26:54 -07:00
Jason Volk
7aa9102f45 ircd::fs::aio: Add assertions at cancel() entry; tweak assertions that compare pointers. 2019-03-10 18:21:05 -07:00
Jason Volk
0c24ea5f40 ircd::net: Allow cipher list and curve list in the listener configuration object. 2019-03-10 16:59:35 -07:00
Jason Volk
d658729d07 ircd::net: Automate ecdh selections by default. 2019-03-10 16:55:39 -07:00
Jason Volk
b4fabaf14f ircd::openssl: Add interface to tweak ecdh / ciphers / curves. 2019-03-10 16:55:39 -07:00
Jason Volk
db30477e51 ircd::net::acceptor: Relax default flags. 2019-03-10 16:55:39 -07:00
Jason Volk
a55c549e70 ircd:Ⓜ️:dbs: Add reference index type for m.room.redaction. 2019-03-10 14:52:11 -07:00