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
Jason Volk
4aef8cfdf8
ircd::net::socket: Deinline the read/write member template suites.
2019-05-03 16:29:56 -07:00
Jason Volk
6500b8c3fc
ircd::net: Disable socket ready debuglog msg by define.
2019-04-24 16:28:42 -07:00
Jason Volk
0f404a0bda
ircd::net: Addition assertions; use constrefs in handler cbs.
2019-04-16 21:39:43 -07:00
Jason Volk
945ce126c5
ircd::net: Remove explicit string conversion.
2019-04-16 21:11:39 -07:00
Jason Volk
9a44188c00
ircd::net Increase buffer sizes.
2019-04-16 21:11:27 -07:00
Jason Volk
7c6c60960f
ircd::net: Improve various callback fini/error conditions.
2019-04-16 20:10:24 -07:00
Jason Volk
6bf3ccb7b5
ircd::net: Bypass call to current_cipher() on error conditions.
2019-04-16 20:10:24 -07:00
Jason Volk
a24d3a1d96
ircd::net: Prevent any handshake on finished socket out of handle_connect.
2019-04-16 20:10:23 -07:00
Jason Volk
ff25a486a0
ircd::net: Bail from handle_verify() on socket fini.
2019-04-16 20:10:23 -07:00
Jason Volk
3b832db9a4
ircd::net: Add traps under reject()s.
2019-04-16 20:00:17 -07:00
Jason Volk
8cfc9e832e
ircd::net: Fix scope_timeout move assignment.
2019-04-16 18:33:01 -07:00
Jason Volk
5d04c8c607
ircd::net: Shortcut string creation on closed / lame sockets.
2019-04-15 22:47:24 -07:00
Jason Volk
b51d5d1461
ircd::net: Add TLS buffers for various stringifies.
2019-04-15 22:47:24 -07:00
Jason Volk
74a28f2f10
ircd::net: Tweak calls to set socket non-blocking.
2019-04-15 22:47:24 -07:00