Jason Volk
751b896c3d
ircd: Ⓜ️ Improve various initial conf related keys and routines.
2018-03-28 14:11:33 -07:00
Jason Volk
26b33a1845
ircd::ctx: Remove the cv_status enum.
2018-03-26 23:29:58 -07:00
Jason Volk
980d24b38e
ircd::net: Simplify listener config object.
2018-03-23 22:17:10 -07:00
Jason Volk
d29b98b0ea
ircd::net: Fix these conf item paths.
2018-03-22 15:11:29 -07:00
Jason Volk
f5fa5100de
ircd::net: Revert no-readahead; post immediate continuation to next stack.
2018-03-18 13:51:43 -07:00
Jason Volk
01fc6db0c5
ircd::net: Disable readahead for socket's SSL_CTX.
2018-03-15 22:25:16 -07:00
Jason Volk
df3243e31d
ircd::net: Eliminate the existing net::remote.
2018-03-13 22:44:13 -07:00
Jason Volk
cadabb5521
ircd::net: Add suite to print a hostname and port or just hostname based on portnum canon.
2018-03-13 22:44:13 -07:00
Jason Volk
79f6974f86
ircd::net: Wait for destruction of all sockets on shutdown.
2018-03-12 18:50:36 -07:00
Jason Volk
949a006950
ircd::net: Close socket before its dtor on accept except.
2018-03-12 15:56:30 -07:00
Jason Volk
cabeb4c128
ircd::net::dns: Add send rate-limiting for resolver queries.
2018-03-12 12:20:22 -07:00
Jason Volk
8653d62c37
ircd::net: Handle case for belated timeout callback after socket close.
2018-03-11 14:51:14 -07:00
Jason Volk
bbd2cbc15b
ircd::net: Checkpoint case for read eof in the readiness handler; should split.
2018-03-11 13:40:24 -07:00
Jason Volk
94716e5ea7
ircd::net: Use socket fini state to condition automatic close on open error.
2018-03-10 23:04:58 -08:00
Jason Volk
9f7aa315fa
ircd::net: Recondition socket handlers to not cancel socket timer.
2018-03-10 23:04:58 -08:00
Jason Volk
49d6d2b8ea
ircd::net: Add socket state and assertion for fini.
2018-03-09 19:41:16 -08:00
Jason Volk
e59c04e2a5
ircd::net: Indicate no timeout before any handler invocation on cancel.
2018-03-09 17:10:46 -08:00
Jason Volk
e4a4526b0c
ircd::net: Add additional conf items; update resolver timeout to use ms.
2018-03-09 17:10:45 -08:00
Jason Volk
4670fdbd1b
ircd: Remove ircd::error_code typedef with more local typedefs.
2018-03-08 10:08:38 -08:00
Jason Volk
eafa9fd5b2
ircd: Move boost system error related out of ios.h to exception.h et al.
2018-03-08 08:40:26 -08:00
Jason Volk
2ec4bd025f
ircd::net: Underp the cache map until heterogeneous key support in stdlib.
2018-03-06 04:03:31 -08:00
Jason Volk
581e804e37
ircd::net::dns: Use conf item for DNS resolver timeout value.
2018-03-02 08:02:20 -08:00
Jason Volk
d54d6b687c
ircd::net::dns: Add crucial support for caching errors.
2018-03-02 08:02:20 -08:00
Jason Volk
3aea407a85
ircd::net::dns: Add dns::cache.
2018-03-01 23:08:22 -08:00
Jason Volk
0e9a1e5109
ircd::net: wat.
2018-02-28 00:00:19 -08:00
Jason Volk
03034723df
ircd::net: Update socket handler conditions to ignore timeout if data is there too.
2018-02-27 18:08:15 -08:00
Jason Volk
a5389dfd95
ircd::net: Assertion found case where (timedout && !ec) is valid:
...
This happens when handle_timeout is executed while handle_ready has
already hit the asio queue. The sd.cancel() is too late to cause
ec==operation_canceled.
2018-02-27 07:12:04 -08:00
Jason Volk
7f77c68232
ircd::net/ircd::server: Rename misleading functions.
2018-02-26 22:49:44 -08:00
Jason Volk
de08752853
ircd::net: Remove unused/erroneous has_timeout().
2018-02-18 22:38:23 -08:00
Jason Volk
0dc8593b9c
ircd::net: Add open() option to allow expired certificates.
2018-02-10 18:37:06 -08:00
Jason Volk
09b0c3d20d
ircd::net::dns: Don't log.error common NXDOMAIN rcodes.
2018-02-07 12:16:17 -08:00
Jason Volk
12f1bf97b4
ircd::net: Move the timedout nulling to here.
2018-02-07 12:16:17 -08:00
Jason Volk
dc4d827def
ircd::net::dns: Improve the resolution handlers and callback chain.
2018-02-07 00:24:54 -08:00
Jason Volk
7b4906e85f
ircd::net: Throw net::not_found for the ipport_one convenience if no A record.
2018-02-06 13:20:24 -08:00
Jason Volk
be624ca7f6
Update Copyrastafaris.
2018-02-05 21:24:34 -08:00
Jason Volk
565a760255
ircd::net: Integrate SRV query composition; RFC1035 records to the user interface.
2018-02-05 18:54:56 -08:00
Jason Volk
3441368b25
ircd::net: Use "service" string in net::hostport.
2018-02-05 18:54:55 -08:00
Jason Volk
a9ac7fd8d9
ircd::net: Add constructions for ipport from rfc1035 resource records.
2018-02-05 18:54:55 -08:00
Jason Volk
d53eef4ab6
ircd: Eliminate the raw_buffer concept.
2018-02-05 18:54:55 -08:00
Jason Volk
cde4507ef6
ircd::rfc1035: Put the record structs into record:: for possible vtable opportunity.
2018-02-03 14:10:49 -08:00
Jason Volk
c3ceb94478
ircd: These should be rvalue refs.
2018-01-30 23:13:27 -08:00
Jason Volk
5f6b5852b1
ircd::rfc1035: Add CNAME RR; minor cleanup.
2018-01-28 21:18:26 -08:00
Jason Volk
9a2714f5aa
ircd::net: Replace asio::ip::tcp::resolver / threaded getaddrinfo() with solution.
2018-01-28 21:18:26 -08:00
Jason Volk
670b4b8e23
ircd::net: Add UDP analogues for the make_endpoint() related.
2018-01-28 21:18:26 -08:00
Jason Volk
513082b656
ircd::net: Reorg DNS related; move resolver into header.
2018-01-28 14:28:33 -08:00
Jason Volk
e95dd21e9e
ircd::net: Decay this array to properly pun the header.
2018-01-26 22:22:09 -08:00
Jason Volk
1cdb893b1b
ircd: Replace various log.critical+assert(0) with ircd::assertives; minor cleanup.
2018-01-24 18:40:19 -08:00
Jason Volk
d56cc60b88
ircd::net: Tweak these error handlers and log facilities.
2018-01-24 14:38:12 -08:00
Jason Volk
7bf9ce225c
ircd::net: Tweak what's left of the socket handle_ready cattle grid.
2018-01-24 14:12:38 -08:00
Jason Volk
e99b32a176
ircd::net: Hit cancel() before any of the disconnect sequences.
2018-01-23 16:35:28 -08:00