0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-08-26 19:35:17 +02:00
Commit graph

223 commits

Author SHA1 Message Date
Jason Volk
88e4445f0e ircd::net: Move error checking fix back to initiator out of handler. 2018-01-12 14:14:01 -08:00
Jason Volk
11adbae89a ircd::net: decorate the peek. 2018-01-12 03:13:49 -08:00
Jason Volk
3d8d6f47b4 ircd::net: Ensure ordering of various operations if immediately dispatched. 2018-01-11 22:28:59 -08:00
Jason Volk
4d310ac22b ircd: Towards debug message uniformity. 2018-01-11 22:02:34 -08:00
Jason Volk
f99461481c ircd: Take some buffers off the stack. 2018-01-11 22:02:34 -08:00
Jason Volk
a135227370 ircd::net: Tighten assumptions on cancel(). 2018-01-11 22:02:33 -08:00
Jason Volk
725f069621 ircd::net: Add discard_all() convenience. 2018-01-11 22:02:33 -08:00
Jason Volk
382d1b0bf3 ircd::net: Close the sd in dc handler unconditionally; align the peek buf. 2018-01-11 03:23:40 -08:00
Jason Volk
fcfa386e33 ircd::net: Remove impossible log conditional; minor cleanup. 2018-01-11 03:22:17 -08:00
Jason Volk
76e16e4d80 ircd::net: Improve remote construction; hostport/ipport related. 2018-01-10 01:20:16 -08:00
Jason Volk
c03bb7e4f2 ircd: Various fixes and elaborations to client/net. 2018-01-08 21:49:00 -08:00
Jason Volk
89c481d1f8 ircd::net: Improve wait related; fix issues with bad behavior. 2018-01-08 18:33:05 -08:00
Jason Volk
b0579d0963 ircd::net: Show more information in some debug messages. 2018-01-08 15:16:47 -08:00
Jason Volk
c8aaeb491f ircd::net: Develop interface for async_wait / waiting on socket. 2018-01-08 13:25:13 -08:00
Jason Volk
17a1982c24 ircd::net: Add read_one() interface. 2018-01-08 12:41:22 -08:00
Jason Volk
a1f0075d62 ircd::net: Improve the timeout callback related. 2018-01-08 03:08:59 -08:00
Jason Volk
d10b9effd0 ircd::net: Improve string output for remote. 2018-01-08 03:08:59 -08:00
Jason Volk
274b4b43ed ircd::net: Fix this bug fix. 2018-01-08 03:08:59 -08:00
Jason Volk
c22631ebf5 ircd::net: Consistent debug log messages. 2018-01-08 03:08:59 -08:00
Jason Volk
273e22c50e ircd::net: Add common_name(opts) consistent function to get proper CN. 2018-01-08 03:08:59 -08:00
Jason Volk
b0427fbb91 ircd::net: ipport string contructions. 2018-01-08 03:08:59 -08:00
Jason Volk
bad0037d78 ircd::net: Copy around open_opts for now to prevent any lifetime complications. 2018-01-08 03:08:59 -08:00
Jason Volk
5615ef2470 ircd::net: Split up remote.h 2018-01-07 14:31:35 -08:00
Jason Volk
9dbae8b27a ircd::net: Rename sockopts to sock_opts. 2018-01-07 02:02:41 -08:00
Jason Volk
ac3802c0f9 ircd::net: Refine network subsystem; break up interfaces; various. 2018-01-06 23:27:01 -08:00
Jason Volk
7e0c01708a ircd::net: Refine socket interfaces; connection options structure. 2018-01-05 19:19:03 -08:00
Jason Volk
72317c07c3 ircd::net: Shlock certificate common-name verification into the net stack. 2018-01-04 23:17:11 -08:00
Jason Volk
35ad641251 ircd::openssl: Minor rename function. 2018-01-04 21:59:39 -08:00
Jason Volk
6aec038479 ircd::net: Additional socket option accoutrements. 2018-01-04 19:25:46 -08:00
Jason Volk
ebad745a3f ircd::net: Tentative future-based socket resolve->connect->handshake. 2018-01-04 19:25:40 -08:00
Jason Volk
fcb2660f0a ircd::net: Elaborate low-level socket interface. 2018-01-04 17:44:35 -08:00
Jason Volk
dd137d50e3 ircd::net: Move resolution constructor from ipport to remote. 2018-01-04 17:44:35 -08:00
Jason Volk
1898cb307d ircd::net: Improve resolver interface. 2018-01-04 17:44:34 -08:00
Jason Volk
6f81d0c643 ircd::net: Minor simplify API. 2018-01-04 17:44:34 -08:00
Jason Volk
26e04ecda4 ircd: buffer/net: Minor cleanup. 2018-01-04 17:44:34 -08:00
Jason Volk
acc73957f8 ircd::net: Socket interface package. 2018-01-04 17:44:34 -08:00
Jason Volk
9ad618a329 ircd::net: Move some string() / various cleanup. 2018-01-04 17:44:34 -08:00
Jason Volk
2606837044 ircd::net: Use fixed result stack buffer. 2017-12-29 23:03:35 -07:00
Jason Volk
c7d97eaf00 ircd::net: Minor cleanup/movement. 2017-12-29 23:03:35 -07:00
Jason Volk
126df4b54a ircd::net: Split resolve into file. 2017-12-29 22:44:15 -07:00
Jason Volk
35038f3d63 ircd::net: Reverse DNS resolution; various cleanup/related. 2017-12-29 22:38:00 -07:00
Jason Volk
8ec7c988a3 ircd::net: Add mass-resolution function. 2017-12-29 21:20:16 -07:00
Jason Volk
0eb16673ee ircd::net: Add resolve interface; Update remote interface. 2017-12-29 19:33:04 -07:00
Jason Volk
9871332957 fixup! Pin boost to 1.66.0. 2017-12-29 15:53:39 -07:00
Jason Volk
46482e61f2 ircd::net: Consistent nesting for null_remote to remote::null. 2017-12-28 15:26:19 -07:00
Jason Volk
3d1a173358 ircd::net: Add extern null_remote. 2017-12-24 21:54:59 -07:00
Jason Volk
3d5eea0ce3 ircd::net: Move these temp items here. 2017-12-24 21:54:58 -07:00
Jason Volk
eab178b97f ircd::net: Show a coarse io stat on disconnect for now. 2017-12-24 21:54:58 -07:00
Jason Volk
cc81ed2f33 ircd::net: Comment out this debug message contributing to excessive wind. 2017-12-12 14:59:40 -07:00
Jason Volk
c1bda4008f ircd::net: Fix port inclusion in these places. 2017-12-03 13:55:56 -08:00
Jason Volk
a747098b65 ircd::net: listener: Explicit string ctor; no default port to ensure one is specified. 2017-11-30 11:23:47 -08:00
Jason Volk
b17293ee86 ircd::net: Add existential checks here. 2017-11-30 11:23:46 -08:00
Jason Volk
69f05391a6 ircd::net: Use nothrowing remote() for socket; cleanup handler. 2017-11-30 11:23:45 -08:00
Jason Volk
6b961711cb ircd::net: Fix asio error code casting for SSL codes. 2017-11-30 11:23:45 -08:00
Jason Volk
5b61e1d01f ircd::net/db: Hard debug log quiet for now; minor cleanup. 2017-11-30 11:23:44 -08:00
Jason Volk
6937e91fc3 ircd::net: OpenSSL/net interface for peer certificates so m:: can hash/verify. 2017-11-30 11:23:44 -08:00
Jason Volk
08469eb2a0 ircd::net: Tweak net::remote ctor related. 2017-11-30 11:23:44 -08:00
Jason Volk
0df7ad850f ircd::net: Quick & likely success branch for these handlers. 2017-11-30 11:23:43 -08:00
Jason Volk
2930b93dcb ircd::net: Various net/client/listener bugfixes/cleanup. 2017-11-30 11:23:42 -08:00
Jason Volk
2ce9b0521f ircd::net: Various fixes / error handling / api. 2017-11-30 11:23:41 -08:00
Jason Volk
888c7d5739 ircd::net: Update log messages. 2017-11-30 11:23:40 -08:00
Jason Volk
52641ba47f ircd::net: Add net::remote, suite; update network utils; fixes. 2017-11-30 11:23:40 -08:00
Jason Volk
14fea52dcb ircd::net: Add async overloads; various cleanup. 2017-10-19 03:55:24 -07:00
Jason Volk
0f51c84fb0 ircd::net: Move net into directory. 2017-10-19 01:30:19 -07:00
Jason Volk
c501f21ac2 ircd::net: Move listener next() to the accept event slice; various cleanup. 2017-10-19 01:03:40 -07:00
Jason Volk
a1e798f12c ircd::net: Improve dc/socket dtor related. 2017-10-19 01:02:30 -07:00
Jason Volk
df8faae81d ircd::net: Improve some exception specs related to socket. 2017-10-19 01:02:19 -07:00
Jason Volk
8fc336a1e9 ircd::net: No user input so use standard ::snprintf() here. 2017-10-17 00:48:10 -07:00
Jason Volk
29d9f2bfdb ircd::net: Improve some error handling and log message related. 2017-10-15 21:28:40 -07:00
Jason Volk
8da4874f2c ircd: Uniform initialization style for these. 2017-10-11 20:54:01 -07:00
Jason Volk
bd1a66e608 ircd: minor simplifications; minor cleanup. 2017-10-11 18:18:18 -07:00
Jason Volk
fe4c59003f ircd::net: Add debugging messages for client connect; also for unhandled server errors. 2017-10-03 04:27:14 -07:00
Jason Volk
84d7746165 ircd: Add net; various asio related. 2017-10-03 04:17:10 -07:00