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
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
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
1128187bf5
ircd::net: Unconditionally check opened(); handle unexpected on dtor.
2019-09-17 20:17:37 -07:00
Jason Volk
9b5a391e14
ircd::net: Use non-future close() in open() callback on error.
2019-09-17 20:17:37 -07:00
Jason Volk
72744824ba
ircd::net::socket: Assertions for API use in fini state.
2019-09-15 14:46:26 -07:00
Jason Volk
a322ff762d
ircd::net: Terminate rather than throwing into noexcept.
2019-09-14 20:14:36 -07:00
Jason Volk
4c7f53fda9
ircd::net: Return ENOTCONN from net::check(socket) in fini state.
2019-09-14 20:14:35 -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
fcf19bc002
ircd::net: Increase the peek workaround buffer size.
2019-09-13 12:44:59 -07:00
Jason Volk
27dbc14b3a
ircd::net: Cleanup asynchronous wait switch and ios descriptors.
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
e22baa8dde
ircd::net: Add SSL_has_pending() to diagnostic for >= 1.1.x
2019-09-09 16:00:37 -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
b72b0ac110
ircd::net: Use buffer size consts.
2019-08-02 22:34:24 -07:00
Jason Volk
de00f3b0c3
ircd::net: Improve connect logmsg.
2019-08-02 22:34:12 -07:00
Jason Volk
48da12c306
ircd::net: Case transform in string()/canonize()/dns::make_SRV_key().
2019-08-02 22:01:00 -07:00
Jason Volk
25d35181be
ircd::net: Check if socket fd is open first before other checks.
2019-07-27 18:49:27 -07:00
Jason Volk
63a9f33d7c
ircd::net: Simplify socket check related.
2019-07-27 13:17:53 -07:00
Jason Volk
7dcd3fdcd8
ircd: Improve log format consistency.
2019-07-23 17:31:16 -07:00
Jason Volk
3185653ce0
ircd::net: Appease clang-7 here.
2019-07-19 17:14:45 -07:00
Jason Volk
5d1e558c0e
ircd::net: Gracefully handle unrecognized SNI.
2019-07-18 18:46:36 -07:00
Jason Volk
ceb9ca3db7
ircd::net: Improve log consistency.
2019-07-18 18:46:36 -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
7843925335
modules: Disperse modules to eliminate the s_ prefix-space.
2019-06-27 00:41:57 -07:00
Jason Volk
80655da66e
Misc fixes for clang.
2019-06-24 01:34:14 -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
2a5d159d85
ircd::net::acceptor: Use consistent loghead in log format.
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
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
44cf572ee5
ircd::rfc1035: Rename constant.
...
ircd::rfc3986: Add additional convenience constants.
2019-05-26 18:37:40 -07:00
Jason Volk
abae2c02f5
ircd::net: Fix for 864f50da
(kicks can down the road).
2019-05-03 18:13:01 -07:00