0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-15 13:08:54 +02:00
Commit graph

245 commits

Author SHA1 Message Date
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
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
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -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
9e3c9be5a8 ircd::server: Minor cleanup of init related. 2019-10-05 16:21:06 -07:00
Jason Volk
c7cf1ab62a ircd::server: Eliminate the abstraction-bleeding loopback check here. 2019-09-30 14:23:28 -07:00
Jason Volk
22471e9b4c ircd: Use conf items to get this info for now. 2019-09-28 14:13:58 -07:00
Jason Volk
d3809d43e5 Reorganize Makefiles. 2019-09-27 19:35:26 -07:00
Jason Volk
89e0a7fc82 ircd: Move matrix application related to derived library. 2019-09-27 19:35:26 -07:00
Jason Volk
57227c6758 ircd::server: Fix SRV resolution for peers with explicit port numbers. 2019-09-20 12:24:51 -07:00
Jason Volk
cbd46e098b ircd::server: Remove extra format specifier; increase timer.
ircd::server: Assert that op_resolve not set when calling resolve().

ircd::server: Restore op state on unwind for exceptions.
2019-09-20 12:24:42 -07:00
Jason Volk
217076f147 ircd::server: Include peer name in errorlog msg. 2019-09-18 22:44:15 -07:00
Jason Volk
38e924992b ircd::server: Set peer error fron resolve/open_links exception handlers. 2019-09-16 11:44:09 -07:00
Jason Volk
7c69eda4a6 ircd::server: Prevent loopbacking at peer::open_links() stage. 2019-09-16 11:38:38 -07:00
Jason Volk
2dd3b5b16a ircd::server: Set a better tag max default. 2019-09-14 14:45:19 -07:00
Jason Volk
b19ed6854b ircd::net: Consolidate all eof error_code related. 2019-09-13 12:44:59 -07:00
Jason Volk
605c7dd37c ircd::server: Minor cleanup; branch expect; assertions. 2019-09-12 20:11:48 -07:00
Jason Volk
e70dcfd0b4 ircd::server: Remove net::check() on success handler entry. 2019-09-12 18:37:33 -07:00
Jason Volk
d6a2328fa0 ircd::server::tag: Use unique_buffer for cancellation mgmt. 2019-09-12 18:37:33 -07:00
Jason Volk
ba3d82abe7 ircd::server: Use interface function to query canceled. 2019-09-11 18:06:34 -07:00
Jason Volk
0dea9db7ea ircd::server: Move socket check earlier in handlers. 2019-09-10 21:56:17 -07:00
Jason Volk
5e06c3d05a ircd::server: Minor reorg. 2019-09-10 21:39:00 -07:00
Jason Volk
71f922d3a1 ircd::server: Qualify noexcept interface functions. 2019-09-10 16:54:41 -07:00
Jason Volk
568acd46c4 ircd::server: Add throwing socket check before read. 2019-09-09 18:29:24 -07:00
Jason Volk
f912cc9cb2 ircd::server: Reduce discard log message verbosity. 2019-09-09 18:04:42 -07:00
Jason Volk
fa8f70a38e ircd::server: Simplify discard condition when no tags committed to remote. 2019-09-09 17:38:50 -07:00
Jason Volk
0307fe629e ircd::server: Compute the cancellation size before any disassociations. 2019-09-09 16:59:57 -07:00
Jason Volk
71fa1c068b ircd::server: Skip CLOSE_NOTIFY after peer EOF on link close. 2019-09-09 16:00:37 -07:00
Jason Volk
80af481076 ircd::server: Simplify read discarding. (#19) 2019-09-09 16:00:37 -07:00
Jason Volk
98a5a09c92 ircd::server: Log a dwarning on any canceled cleanups. 2019-09-09 16:00:37 -07:00
Jason Volk
844bf46a5c ircd::server: Add a canceled tag reaper. 2019-09-06 20:10:09 -07:00
Jason Volk
5ead261243 ircd::server:🔗 Add read_ts and write_ts last operation timestamp. 2019-09-06 19:56:18 -07:00
Jason Volk
f9b5b2ee5b ircd::server: Attempt hard close on discard error. 2019-09-06 19:22:58 -07:00
Jason Volk
4b24f74d19 ircd::server: Increase peer link max default. 2019-09-06 18:11:13 -07:00
Jason Volk
693ee3665c ircd::server: Tolerate multiple peer::close() calls for now. 2019-09-06 14:33:35 -07:00
Jason Volk
396dfc0a79 ircd::server: Tweak assertion conditions. 2019-09-03 20:26:39 -07:00
Jason Volk
aec2074eb1 ircd::server: Improve abandoned() check to prevent duplicate promise satisfaction. 2019-08-29 22:14:07 -07:00
Jason Volk
da0827dbbb ircd::server: Fix content_read synchronization with chunk_read. (Fixes #116) 2019-08-08 18:39:20 -07:00
Jason Volk
3f418bf1ed ircd::server: Add a request log. 2019-07-25 23:12:18 -07:00
Jason Volk
58dd728f49 ircd::client: Record all stuck clients in dwarning on shutdown.
ircd::server: Record all stuck peers in dwarning on shutdown.
2019-07-25 15:28:40 -07:00