0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00
Commit graph

25 commits

Author SHA1 Message Date
Jason Volk
4070400261 modules/s_dns: Minor cleanup; move error handling. 2019-05-09 03:01:36 -07:00
Jason Volk
87025e7b41 modules/s_dns: Elide dynamic allocation here. 2019-05-09 02:57:10 -07:00
Jason Volk
9cca4c6a5d modules/s_dns: Improve error handling; invoke the waiting callback on cache::put error.
modules/console: Disable interruptions while waiting for dns callback.
2019-05-02 21:43:27 -07:00
Jason Volk
bd3bf50c34 modules/s_dns: Fix double-tap; cleanup iteration. 2019-03-25 19:54:11 -07:00
Jason Volk
7d70351f0b modules/s_dns: Ensure cache::put() sends something useful to the cache room. 2019-03-25 19:07:37 -07:00
Jason Volk
23785910b0 modules/s_dns: Condition response waiting on callback being non-null. 2019-03-25 14:08:14 -07:00
Jason Volk
71b86df0fe ircd::net::dns: Reorg various utilities from dns::cache:: to dns::. 2019-03-24 14:50:26 -07:00
Jason Volk
55af53e2a0 ircd::net::dns::cache: Add addl utils random_choice and is_error(). 2019-03-24 14:47:07 -07:00
Jason Volk
83dcfb05a0 modules/s_dns: Tweak conf TTL defaults; use dynamic content buffer. 2019-03-24 14:06:47 -07:00
Jason Volk
4677e5f443 modules/s_dns: Improve ipport query deduction related. 2019-03-24 14:06:47 -07:00
Jason Volk
a1ac9cb356 ircd::net::dns: Expose more cache utils to public interface. 2019-03-24 14:06:47 -07:00
Jason Volk
17abecff3b modules/s_dns: Default to SRV when deducing for single ipport query. 2019-03-23 02:32:20 -07:00
Jason Volk
3c09d62934 modules/s_dns: Various cleanup / reorg of handlers. 2019-03-23 01:04:41 -07:00
Jason Volk
4ec689ef65 modules/s_dns: Handle case for entirely irrelevant records. 2019-03-22 13:51:28 -07:00
Jason Volk
8f41687940 modules/s_dns: Fix exception propagation to callback. 2019-03-22 13:51:28 -07:00
Jason Volk
eee620df3e modules/s_dns: Fix keying for response matching. 2019-03-22 10:50:16 -07:00
Jason Volk
68e3655a1d ircd::net::dns: Refactor system for the !dns room. 2019-03-21 18:24:36 -07:00
Jason Volk
cff17eaa40 ircd: Add exception tools which elide copying. 2019-03-16 16:28:28 -07:00
Jason Volk
a81038acfa modules/s_dns: Randomly select an A record for single-record callback. 2019-03-12 18:41:05 -07:00
Jason Volk
c28e152954 modules/s_dns: Replace magic numbers with proper qtypes. 2018-11-13 23:19:57 -08:00
Jason Volk
0df3eafea2 modules/s_dns: Simplify/breakdown callback stack related. 2018-10-03 14:33:53 -07:00
Jason Volk
95c6f69e5d ircd::net::dns: Add explicit qtype to opts and integrate w/ query stack. 2018-10-02 22:53:23 -07:00
Jason Volk
450ec3523e modules/s_dns: Consolidate DNS related into units of a single module. 2018-10-01 13:56:00 -07:00
Jason Volk
0e6221b8dc ircd::net::dns: Move closure chains out to modules/s_dns; minor reorg. 2018-10-01 12:47:49 -07:00
Jason Volk
5a627efaad ircd::net::dns: Move cache related out to modules/s_dns. 2018-09-30 20:18:32 -07:00