0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-04 17:48:35 +02:00
Commit graph

192 commits

Author SHA1 Message Date
Jason Volk ca8082d01b ircd::net: Relax this assertion with a log warning. 2018-09-24 23:10:27 -07:00
Jason Volk 8d435305d0 ircd::net: Wait for pending resolver tags to complete on shutdown. 2018-09-17 21:31:23 -07:00
Jason Volk bbc26ebb75 ircd::net: Minor cleanup. 2018-09-01 22:21:42 -07:00
Jason Volk 384f5917d0 ircd::net::listener: Add callback to proffer the connection before handshake. 2018-09-01 22:12:49 -07:00
Jason Volk 60b3cd828e ircd::net: Add listener::name() interface method. 2018-08-30 19:15:28 -07:00
Jason Volk a4bb471cf7 ircd::openssl/ircd::net: Add presupplied rfc3526 DH parameters. 2018-08-29 16:16:55 -07:00
Jason Volk fcb5965e45 ircd::net: Save listener opts and add accessor. 2018-08-29 15:52:37 -07:00
Jason Volk 2b199ae3ed ircd::net/ircd::server/ircd::client: Various cleanup; log messages. 2018-08-28 12:06:45 -07:00
Jason Volk 570f715c87 ircd::net: Improve listener to-string related. 2018-08-17 12:51:48 -07:00
Jason Volk e5834065ed ircd::net: Unionize datagram for bidirections. 2018-07-07 22:10:29 -07:00
Jason Volk fe0bd19763 ircd::net: Add udp listener. 2018-07-07 21:33:23 -07:00
Jason Volk 1c6a4bc8d1 ircd::net: Ensure flag happens before cancel. 2018-07-06 18:40:58 -07:00
Jason Volk 02fcdc8635 ircd::net::listener: Add callback-action for proper abstraction. 2018-07-06 18:38:08 -07:00
Jason Volk d3f8a84ca8 ircd::net::listener: Add default generated paths for some ssl options. 2018-07-01 02:16:00 -07:00
Jason Volk 7cafbc972a ircd::net: Listener defaults to all interfaces. 2018-07-01 02:13:29 -07:00
Jason Volk abe921c3ad ircd::net: Add conf item for default close opts. 2018-06-01 04:08:20 -07:00
Jason Volk 8c5b47950f ircd::net: Add conf items for default open_opts. 2018-06-01 04:05:19 -07:00
Jason Volk 5a058be4ba ircd::net: Use specific canon service/port variables. 2018-05-19 18:49:08 -07:00
Jason Volk a7b0246830 ircd::net: Increase default acceptor timeout for spinapps friends. 2018-05-19 18:49:05 -07:00
Jason Volk 0abfc6e927 ircd::net: Minor fix spacing. 2018-05-19 18:49:02 -07:00
Jason Volk 3e877ebad3 ircd::net: Elaborate the peer_cert stack: add sha256; add b64 of sha256. 2018-05-10 21:00:32 -07:00
Jason Volk 3f296f2108 ircd::net: Fix error fmtstr; use static exception instance for copy. 2018-05-09 21:12:01 -07:00
Jason Volk c47324f741 ircd::net::dns: Add retries. 2018-05-08 16:03:56 -07:00
Jason Volk 477fe01e40 ircd::net::dns: Write question into tag buffer; add send_burst conf item. 2018-05-08 16:03:55 -07:00
Jason Volk a318319ba4 ircd::net: attribute noreturn upon advice. 2018-05-08 14:32:40 -07:00
Jason Volk 79a44e4587 ircd::net: No need to hold this pointer in closure. 2018-05-08 14:31:39 -07:00
Jason Volk 618fc8a95e ircd::net::dns: Tweak reference prototypes. 2018-05-08 14:29:44 -07:00
Jason Volk 003ecf6357 ircd: Remove / update various ctx::interrupted catch blocks for ctx::terminated. 2018-05-06 02:06:08 -07:00
Jason Volk 386901f4c2 ircd::net: Fix conditions for eptr creation from cached error. 2018-05-05 00:55:42 -07:00
Jason Volk 5ba64df248 ircd::net: Explicitly construct these things here. 2018-05-04 20:43:05 -07:00
Jason Volk 695fb4c9b0 ircd::net: Ensure proper string() is resolved; minor cleanup. 2018-05-02 12:15:04 -07:00
Jason Volk 4c61eeba89 ircd::net::dns: Use explicit static empty record instances. 2018-05-02 11:28:34 -07:00
Jason Volk fb53069c6f ircd::net::dns Include query in callback arguments to prevent any stale captures. 2018-05-01 18:56:22 -07:00
Jason Volk 3f2320c49e ircd::net::dns: Strip the cached-error SRV target of its prefix; minor fixes. 2018-04-28 17:47:59 -07:00
Jason Volk 30d8c0b961 ircd::net::dns: Allocate separate reply buffer in resolver. 2018-04-28 17:47:59 -07:00
Jason Volk a3bea15eef ircd::net::dns: Various send cleanup/asserts; fix hostport reference in eh. 2018-04-28 17:47:59 -07:00
Jason Volk 2b41672259 ircd::net::dns: Improve the SRV -> A callback chain. 2018-04-28 17:47:59 -07:00
Jason Volk 4e796c896a ircd::net::dns: Allow an exception to calling back with nxdomain as an exception. 2018-04-28 17:47:58 -07:00
Jason Volk 1d408173dc ircd::net: Return pointer to cached error record for put_error(). 2018-04-28 16:25:20 -07:00
Jason Volk 48abece29b ircd::net: Improve dns::resolver instance init/fini. 2018-04-28 15:31:07 -07:00
Jason Volk 49d83de384 ircd::net: Propagate ctx interruption to socket. 2018-04-15 17:46:20 -07:00
Jason Volk f4b2273a4b ircd::net: Add a semaphore to the socket timer to invalidate queued callbacks. 2018-04-15 17:46:20 -07:00
Jason Volk 5be18475df ircd::net: Move scope_timeout from socket:: to net:: w/ exposure. 2018-04-15 16:43:09 -07:00
Jason Volk 2dad8d8832 ircd::net::dns: Empty cache key assertions. 2018-04-15 02:44:28 -07:00
Jason Volk f37176d698 ircd::net::dns: Enforce min ttl for cache entries; add conf option. 2018-04-14 18:35:48 -07:00
Jason Volk de295777d0 ircd::net::dns: Improve/fix cache management related. 2018-04-14 18:13:19 -07:00
Jason Volk 1ad4d58e43 ircd::net::dns: Move cache interfaces into cache class. 2018-04-14 17:34:07 -07:00
Jason Volk cf22eacfd3 ircd::net::dns: Add static fire-and-forget callbacks for prefetching. 2018-04-14 17:15:06 -07:00
Jason Volk dc81d77c19 ircd::net: Improve/comment on various sundry DNS cache related. 2018-04-13 18:34:48 -07:00
Jason Volk 6ca4f6eec5 ircd::net: Expose interface for socket stat counter. 2018-04-13 17:24:07 -07:00