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
Jason Volk
c1737e167c
ircd::ios: Employ the asio::executor abstraction w/ backward-compat.
2020-02-27 12:44:57 -08:00
Jason Volk
51e62a56f6
ircd::net::socket: Switch to deadline timer.
2019-10-08 19:30:48 -07:00
Jason Volk
2b2374db6c
ircd: Split all non-matrix definitions back to lib; rename module to net_dns_cache.
2019-10-05 17:37:44 -07:00
Jason Volk
cfc76f1777
ircd::net::dns: Move resolver into libircd proper.
2019-10-03 12:14:29 -07:00
Jason Volk
035ec56bc3
ircd::net::acceptor: Condition accepted SNI from listener's certificate for now.
2019-09-30 14:23:28 -07:00
Jason Volk
43a86a428c
ircd::net::acceptor: Split/cleanup the acceptor configuration related.
2019-09-30 14:23:28 -07:00
Jason Volk
7d1da07894
ircd::net::wait: Simplify ctor stack for noexcept suggestion.
2019-09-26 14:03:43 -07:00
Jason Volk
56c025ab7b
ircd::net::socket: Minor cleanup; move warning into unlikely branch.
2019-09-14 12:17:07 -07:00
Jason Volk
a280350dee
ircd::net: Fix the asio callback and error_code interp on socket waits.
2019-09-13 12:44:59 -07:00
Jason Volk
b19ed6854b
ircd::net: Consolidate all eof error_code related.
2019-09-13 12:44:59 -07:00
Jason Volk
cb94558c4a
ircd: Ⓜ️ :fed: Remove opts inline constructor due to shared linkage issues.
2019-08-18 04:13:12 -07:00
Jason Volk
c64bb6850c
ircd::net: Fix/improve the v6/v4 check.
...
ircd::net: Add an is_null(ipport/ipaddr).
ircd::net: Improve the v6/v4 check efficiency.
ircd::net: Swap defaulting from v6 to v4 for better null address output.
2019-08-04 18:05:58 -07:00
Jason Volk
63a9f33d7c
ircd::net: Simplify socket check related.
2019-07-27 13:17:53 -07:00
Jason Volk
2a8162b2b7
ircd::net::hostport: Remove unique symbol.
2019-07-14 19:35:28 -07:00
Jason Volk
0f4d1e2869
ircd::net::socket: Convert totals counters to stats::items.
2019-07-11 15:51:09 -07:00
Jason Volk
015cbe53b1
ircd::net::socket: Add static counters for totals.
2019-07-08 06:03:20 -07:00
Jason Volk
cf3b1218c4
ircd: Misc fixes for clang.
2019-06-23 16:22:06 -06:00
Jason Volk
5bf62fc33f
ircd: Degrade enum addressing for clang.
2019-06-23 07:37:23 -06:00
Jason Volk
7aaee4c68d
ircd: Mark recommended noexcept on inline constructors.
2019-06-22 17:36:42 -06:00
Jason Volk
ce425b438d
ircd::net::acceptor: Elide the accepting list for single-accept [revertible].
2019-06-01 17:10:49 -07:00
Jason Volk
dafb8bd42f
ircd::net::acceptor: Track and limit operations based on configuration.
2019-06-01 17:10:49 -07:00
Jason Volk
d7edd1960e
ircd::net::listener: Add some doc comments on the structure.
2019-06-01 15:33:39 -07:00
Jason Volk
a08d5370f8
ircd::net::ipport: Add convenience conversion to ipaddr.
2019-06-01 15:33:39 -07:00
Jason Volk
3e43a10e6d
ircd::net: Improve loghead(acceptor) and loghead(acceptor_udp) related.
2019-05-31 02:35:22 -07:00
Jason Volk
2e525df668
ircd::net::acceptor: Add ALPN negotiation handler support.
2019-05-31 00:35:46 -07:00
Jason Volk
4aef8cfdf8
ircd::net::socket: Deinline the read/write member template suites.
2019-05-03 16:29:56 -07:00