0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00
Commit graph

4592 commits

Author SHA1 Message Date
Jason Volk
cd61d81834 ircd: Fix missing condition around __assert_fail. 2020-02-01 13:40:19 -08:00
Jason Volk
3f2876303a ircd::client: Check socket fini condition before entering async/wait mode. 2020-01-24 14:04:21 -08:00
Jason Volk
55e9bc87e1 ircd::server: Fix dynamic chunked encoding cancellation buffer for pipeline. 2020-01-24 13:51:51 -08:00
Jason Volk
b7855f15bb ircd::server: Fix dynamic chunk head buffer calculation. 2020-01-24 13:39:05 -08:00
Jason Volk
2e9337d198 ircd::run: Split run.cc from ircd.cc for static initialization order upstreaming.
This allows run::changed handlers to be statically constructed in definition files
which are ordered before ircd.cc (i.e. all of them).
2020-01-24 10:40:33 -08:00
Jason Volk
41c012a695 ircd::server: Fix setting peer error state when first link fails. 2020-01-23 21:58:44 -08:00
Jason Volk
660d0052cf ircd::rfc1035: Remove any dot terminator for use with rfc3986 validator grammars. 2020-01-23 20:56:35 -08:00
Jason Volk
f12a4bfdd1 ircd::rfc1035: Throw on invalid SRV target string during answer parse. 2020-01-23 19:30:15 -08:00
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
d91b9d0aee ircd::json: Reorder alternative operands. 2020-01-17 17:26:23 -08:00
Jason Volk
5f7dffbc59 ircd::db: Fix missing log facilities. 2020-01-12 17:38:45 -08:00
Jason Volk
b0a773c922 ircd::db: Add conf item to repair on open. 2020-01-11 23:31:53 -08:00
Jason Volk
9469099508 ircd::db: Add cases for validity w/ critical log. 2020-01-11 23:31:53 -08:00
Jason Volk
a95f448805 ircd::db: Cases for traps; minor cleanup. 2020-01-11 23:31:53 -08:00
Jason Volk
e76035cc28 ircd::db: Log exceptions and continue loop for db compaction. 2020-01-09 13:42:43 -08:00
Jason Volk
cdfdde3334 ircd::db: Add interface to checksum files per column.
modules/console: Add column params to db check cmd.
2020-01-08 12:32:56 -08:00
Jason Volk
ffcc49b9e5 ircd::db: Add interface to checksum per file. 2020-01-08 12:32:56 -08:00
Jason Volk
559a0dd7ac ircd::db::env: Add propagation of nice values for all file types. 2020-01-06 12:19:39 -08:00
Jason Volk
3cb48a0f00 ircd::db::env: Use inline initializer. 2020-01-06 12:19:39 -08:00
Jason Volk
214d955979 ircd::db::env: Add conversion for ioprio value; rename to ionice. 2020-01-06 12:19:39 -08:00
Jason Volk
4ef3f6eab7 ircd::ctx: Add nice/ionice values to pool opts; propagate on spawn. 2020-01-06 12:19:38 -08:00
Jason Volk
78d300b3b7 ircd::ctx: Add nice/ionice values to context. 2020-01-06 12:19:38 -08:00
Jason Volk
d166e01608 ircd::net: Use thread_local for discard buffer.
ircd::server: Use thread_local for discard buffer.
2020-01-05 16:38:08 -08:00
Jason Volk
ca663db129 ircd::server: Mark unresolved boundary loss for partial content. 2019-12-31 17:22:28 -08:00
Jason Volk
1e5950cba9 ircd::server: Fix false assertions in dynamic chunk context. 2019-12-31 17:01:56 -08:00
Jason Volk
eeb1fe6901 ircd::server: Use const_buffer for dynamic chunk head vectoring. 2019-12-31 16:59:34 -08:00
Jason Volk
bfa60b55fc ircd::server: Simplify buffer creation; simplify conditions; improve diagnostic. 2019-12-31 15:42:00 -08:00
Jason Volk
31eab7d235 ircd::server: Eliminate buffer constructions which lose window size information. 2019-12-31 15:42:00 -08:00
Jason Volk
2d6ae9fd78 ircd::server: Simplify condition using named statement. 2019-12-31 13:29:21 -08:00
Jason Volk
474b87e300 ircd::server: Additional assertions; tweak assertions. 2019-12-31 13:29:21 -08:00
Jason Volk
c719d137b0 ircd::server::tag: Construct buffer as lvalue in frame for assertability. 2019-12-31 11:23:20 -08:00
Jason Volk
37cde44d58 ircd::cbor: Reconstitute head reader and utils. 2019-12-26 11:43:01 -08:00
Jason Volk
32819cbefd Revert "ircd::server: Use pessimistic buffer minimum condition to fail faster."
This reverts commit 41545edef2.
2019-12-20 18:50:04 -08:00
Jason Volk
ec006b23fa ircd::server: Disable dwarning for tag removal for now. 2019-12-13 11:52:52 -08:00
Jason Volk
f588dad9eb ircd::json: Fix lifetime dead store elimination; regression from df79d61 2019-12-04 23:28:29 -08:00
Jason Volk
875c0bce05 ircd::json: Add assertion for stack unwind. 2019-12-04 16:04:52 -08:00
Jason Volk
bc5160307f ircd::net::dns::resolver: Disable interruption during tag handling; tag sending. 2019-12-04 10:05:15 -08:00
Jason Volk
cff6a3b5d2 ircd::log: Init with DERROR/DWARNING levels off for console in release-mode compilations. 2019-12-03 16:45:59 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
09e315a8f0 ircd::json::stack: Maintain enough space for JSON to close on all stack unwinds. 2019-12-01 21:37:54 -08:00
Jason Volk
66934f317a ircd::json::stack: Track and assert the running recursion level. 2019-12-01 21:37:22 -08:00
Jason Volk
2aaef63e04 ircd::json::stack: Fix missing move members. 2019-12-01 21:22:58 -08:00
Jason Volk
c4cadd3642 ircd::server: Relax assertion. 2019-11-30 14:29:01 -08:00
Jason Volk
41545edef2 ircd::server: Use pessimistic buffer minimum condition to fail faster. 2019-11-30 14:20:05 -08:00
Jason Volk
ac9b834eca ircd: Minor format fix. 2019-11-30 10:47:20 -08:00
Jason Volk
b415ec3125 ircd::ctx: Remove branch never taken. 2019-10-10 19:57:46 -07:00
Jason Volk
7afb295c09 ircd::ctx: Partial inline continuation. 2019-10-10 19:33:49 -07:00
Jason Volk
ec6c3bbc0f ircd::db: Improve fd limit range in db opts. 2019-10-10 13:24:18 -07:00
Jason Volk
935f54b604 ircd::fs: Branches almost always taken. 2019-10-10 01:32:42 -07:00
Jason Volk
5ac73dc7f9 ircd::ctx: Remove return prefetches here. 2019-10-09 23:55:49 -07:00