0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-03 20:22:56 +01:00
Commit graph

253 commits

Author SHA1 Message Date
Jason Volk
575211d37e ircd::net: Add close option to skip shutdown syscall prior to close. 2023-03-20 14:01:42 -07:00
Jason Volk
6d73a65867 ircd::net: Add translate/reflect for disconnect type. 2023-03-20 14:01:42 -07:00
Jason Volk
b3832541ff ircd::net: Allow designated and implicit constructions for close_opts. 2023-03-20 14:01:42 -07:00
Jason Volk
13f3d1ebc6 ircd::net: Add state for nodelay in socket w/ condition to elide; interface overloads. 2023-03-19 19:56:14 -07:00
Jason Volk
b07fa8c110 ircd::net: Add interface for native_non_blocking(); mitigate unconditional ioctl. 2023-03-19 19:47:53 -07:00
Jason Volk
4d2478f814 ircd::net: Minor sock_opts interface ABI simplifications. 2023-03-19 18:02:53 -07:00
Jason Volk
eca02723b3 ircd::net: Consolidate SSL_pending related behind interface. 2023-03-18 14:08:20 -07:00
Jason Volk
ee31b5a59f ircd::net::listener: Support non-SSL listening sockets. 2023-03-18 14:08:20 -07:00
Jason Volk
4e16f1849b ircd::net::socket: Support non-SSL sockets. 2023-03-18 14:08:20 -07:00
Jason Volk
3fcfaddc3e ircd::net::acceptor: Move alpn/sni init config into method; minor reorg. 2023-03-18 11:52:51 -07:00
Jason Volk
ac3b85114b ircd::net::dns::resolver: Add conf item to ease off ServFail retries. 2023-03-14 22:34:58 -07:00
Jason Volk
2147d00dd4 ircd::net::acceptor: Remove backreference to wrapper object. 2023-03-09 10:51:54 -08:00
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
716134186e Replace additional #ifdef debug related w/ if constexpr for regression visibility. 2023-02-17 19:10:06 -08:00
Jason Volk
aa8ce19c7c ircd: Internalize various loghead utils; remove legacy ostream operators. 2023-02-09 11:41:11 -08:00
Jason Volk
1da91f41b3 ircd::net: Elide repeated getsockname()/getpeername() w/ cached sockaddrs. 2023-02-08 10:52:02 -08:00
Jason Volk
31c1e834bd ircd::net::dns::resolver: Question must match or this is the mist of a packet spray. 2022-08-15 12:38:21 -07:00
Jason Volk
18b3b58709 ircd::net::acceptor: Add filter instance stub to listener. 2022-07-08 10:45:33 -07:00
Jason Volk
d3584274ac ircd::net::bpf: Add preliminary epbf support. 2022-07-08 10:45:33 -07:00
Jason Volk
11e75db293 ircd::net: Add filter attach/detach to socket option suite. 2022-07-07 16:47:55 -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
4ae50c97d1 ircd: Various symbol internalizing and PLT reductions. 2022-06-17 21:11:54 -07:00
Jason Volk
e51b855f2b ircd: Various symbol surface reductions and sorting. 2022-06-17 21:11:53 -07:00
Jason Volk
120a382398 ircd::net::dns: Split delegate service_init/fini; fix error. 2021-09-14 23:39:55 -07:00
Jason Volk
75445eb047 ircd::net::hostport: Fix condition for service string in rfc3986::uri ctor. 2021-02-09 08:18:28 -08: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
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
04f6e9692a ircd::net::dns::resolver: Improve timeout cycle; avoid false positives under load. 2020-11-06 22:06:16 -08:00
Jason Volk
27d0c25f9b ircd::net::dns::resolver: Split recv into function from work loop. 2020-11-06 22:04:46 -08:00
Jason Volk
8b4fdf49c4 ircd::net: Cleanup interface arguments w/ common alias. 2020-10-20 23:20:41 -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
c0d2fe20bb ircd::stats: Refactor subsystem template hierarchy and approach. (#31) 2020-06-17 18:12:19 -07:00
Jason Volk
a70a6164be ircd::net: Convey ALPN selection to socket instance. 2020-05-30 23:19:03 -07:00
Jason Volk
47d1ac40c3 ircd::net::acceptor: Carry pointer to our socket instance in ssl opaque. 2020-05-30 22:47:03 -07:00
Jason Volk
637b6ecede ircd::net::dns::cache: Move cache waiter calling out of module. 2020-04-25 00:28:39 -07:00
Jason Volk
180963ca22 ircd::net: Add hostport construction from explicit rfc3986::uri. 2020-03-24 12:14:05 -07:00
Jason Volk
f092b4214b ircd::net::hostport: Add missing default port argument for constructor. 2020-03-24 11:55:17 -07:00
Jason Volk
8914af3e84 ircd::net::dns: Add complementary interface to getservbyport(3). 2020-03-12 21:09:56 -07:00
Jason Volk
4935015b18 ircd::net::dns: Consolidate cache interfaces in public header; weak unresolved for now. 2020-03-07 12:51:12 -08:00
Jason Volk
0e25a2e055 ircd::net::dns: Add support for netdb; interface to getservbyname(3). 2020-03-06 15:43:24 -08:00
Jason Volk
14cce54b1f ircd::net: Add missing service(hostport) mutable referencer. 2020-03-05 20:10:35 -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
65d41d0093 ircd::net::dns::resolver: Copy to preserve service string from hostport in tag. 2020-03-05 14:18:57 -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
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