0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-31 19:08:59 +01:00
Commit graph

387 commits

Author SHA1 Message Date
Jason Volk
121f9febc7 ircd::net: Add TCP_CORK support to socket options interface. 2023-03-02 19:03:19 -08:00
Jason Volk
74f2093d9c ircd::net: Return true for supported option setters; false for unsupported. 2023-03-02 19:00:59 -08:00
Jason Volk
762703698c Replace various #ifdef RB_DEBUG with if constexpr for regression visibility. 2023-02-09 12:11:32 -08:00
Jason Volk
1da91f41b3 ircd::net: Elide repeated getsockname()/getpeername() w/ cached sockaddrs. 2023-02-08 10:52:02 -08:00
Jason Volk
61348312a8 ircd::net: Modernize remaining unencapsulated socket endpoint queries. 2023-02-07 21:49:50 -08:00
Jason Volk
ea66186ef8 ircd::net: Simplify synchronous socket::wait() w/ wait_type translate. 2023-02-02 18:51:03 -08:00
Jason Volk
5005dea8a4 configure: Apply -Wimplicit-fallthrough. 2023-02-02 18:51:03 -08:00
Jason Volk
89e44ce8e9 ircd: Apply branch expectation attributes to various case labels. 2023-02-02 18:51:03 -08:00
Jason Volk
cbfbe51c35 ircd::net: Replace ifdef w/ constexpr for inclusion. 2023-01-15 22:32:00 -08:00
Jason Volk
11e75db293 ircd::net: Add filter attach/detach to socket option suite. 2022-07-07 16:47:55 -07:00
Jason Volk
6a5e7acee1 ircd::lex: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
ircd::net: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
2022-07-04 22:25:18 -07:00
Jason Volk
08d39efca6 ircd::net: Fix double-jumps through interface glues; internalize symbols. 2022-07-01 13:36:04 -07:00
Jason Volk
a013674beb ircd::net: Fix undefined reinterpret pun. 2022-07-01 13:32:55 -07:00
Jason Volk
81b6c7b003 ircd::buffer: Hoist null_buffer to inline variable; move buffers typedefs. 2022-07-01 09:49:44 -07:00
Jason Volk
5a4a395fc2 Add noexcept to various lambdas (gcc-11). 2022-06-29 14:42:42 -07:00
Jason Volk
9d0d45294c ircd: Attribute static dtors worthy of running to cleanup memcheck reports. 2022-06-17 21:11:54 -07:00
Jason Volk
4ae50c97d1 ircd: Various symbol internalizing and PLT reductions. 2022-06-17 21:11:54 -07:00
Jason Volk
04558290c0 ircd: Toward improving cold/unlikely section population. 2022-06-17 21:11:53 -07:00
Jason Volk
2106263dd4 ircd::buffer: Adorn out-of-line asio glue with noexcept. 2022-06-17 21:11:53 -07:00
Jason Volk
a63fcfa5b4 ircd::net: Add interface to TCP_QUICKACK if supported. 2020-12-25 05:33:59 -08:00
Jason Volk
f30c5f381b ircd::net: Add tools to query socket write buffering related. 2020-12-24 18:09:30 -08:00
Jason Volk
7e81806f29 ircd::net: Minor reorg available()/readable() into read.h. 2020-12-24 18:09:30 -08:00
Jason Volk
6991ecc764 ircd: Remove various trivial tls bufs. 2020-12-22 18:40:30 -08:00
Jason Volk
07ec766ff9 ircd::ios: Consolidate dispatch/post/defer interfaces; minor fixes. 2020-12-20 06:02:50 -08:00
Jason Volk
e80629c914 ircd: Rename all ios::descriptors w/ consistent dot namespacing.
ircd: Hoist various ios::descriptors out of function-static duration.
2020-12-18 02:42:07 -08:00
Jason Volk
ba24dd1018 ircd::net: End exception before calling user in any handler. 2020-11-05 22:10:54 -08:00
Jason Volk
13fcd8b3a5 ircd::net: Fix canon string inconsistencies; perform service lookups. 2020-10-08 20:49:49 -07:00
Jason Volk
441d3aaf92 ircd::net: Reduce trivial/unnecessary thread_local; debuglog stack buffers. 2020-10-03 02:31:20 -07:00
Jason Volk
432fcd9cd8 ircd::net::socket: Hoist function-static instances of ios::descriptor. 2020-10-03 02:31:20 -07:00
Jason Volk
7ff89fbd17 ircd: Split base64 and base58 into separate namespaces. 2020-08-10 04:56:28 -07:00
Jason Volk
cb41660c94 ircd: Applications of loopless copy overload for single character. 2020-04-13 23:58:33 -07:00
Jason Volk
fa853580e1 ircd::net: Split listeners/acceptors into unit. 2020-04-13 00:11:15 -07:00
Jason Volk
958cb789f5 ircd::net: Increase the handshaking maximum default. 2020-04-01 22:56:29 -07:00
Jason Volk
56825ddcdc ircd::net: Consistent log message formats. 2020-03-16 17:32:44 -07:00
Jason Volk
4c699e0b6c ircd::net: Legitimate handler (remove assertion). 2020-03-16 17:32:44 -07:00
Jason Volk
9cceed8d34 Revert "ircd::net: Remove string(net::hostport) branch ..." w/ improvement.
This reverts commit fa19b9b182 with modification.
2020-03-07 14:55:50 -08:00
Jason Volk
fa19b9b182 ircd::net: Remove string(net::hostport) branch which drops port from output. 2020-03-06 18:20:18 -08:00
Jason Volk
4b41efcdc8 ircd::net: Remove additional defaults and stale comments. 2020-03-06 10:42:39 -08:00
Jason Volk
18ec08c92b ircd::net: Allow explicit port instead of service name for canon string. 2020-03-06 10:37:28 -08:00
Jason Volk
f5d5f6de3b ircd::server: Require service suffix for peer map keying; refactor host canonization. 2020-03-05 20:06:14 -08:00
Jason Volk
a46bf7dcbe ircd::net: Eliminate the legacy canon_port/canon_service defaults.
ircd:Ⓜ️ Move canon_port/canon_service into matrix lib.
2020-03-05 14:18:55 -08:00
Jason Volk
bb8e40debc ircd::net: Increase these buffer sizes beyond DOMAIN_MAX. 2020-03-04 17:34:25 -08:00
Jason Volk
7f2eb104b6 ircd::net::acceptor: Refactor error and limit handling branches; fix reset. 2020-03-03 14:14:43 -08:00
Jason Volk
6ec9867843 ircd::net::acceptor: Add a default proffer callback when none set. 2020-03-03 13:54:14 -08:00
Jason Volk
ac021785a2 ircd::net::hostport: Deinline amalgam constructors. 2020-02-28 10:21:49 -08:00
Jason Volk
c1737e167c ircd::ios: Employ the asio::executor abstraction w/ backward-compat. 2020-02-27 12:44:57 -08:00
Jason Volk
38aa9b6d0c ircd::net::addrs: Split into translation unit. 2020-02-26 11:50:10 -08:00
Jason Volk
e95b9afb50 ircd::net: Indicate unreachable after terminate. 2020-02-11 14:12:29 -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
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00