ObjFW  History of src/OFDNSResolver.h of 164f2fb4bf02dd05d12697b3a82b6161c3a8cb11a482ee80c7ea15005bb2f951

History of file src/OFDNSResolver.h at check-in 164f2fb4bf02dd05d12697b3a82b6161c3a8cb11a482ee80c7ea15005bb2f951

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [c4235010cf] check-in: [164f2fb4bf] user: js, branch: trunk, size: 10548 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [8d933f9a52] check-in: [7413a728a7] user: js, branch: trunk, size: 10580 [annotate] [blame] [check-ins using] [diff]
2024-02-03
11:41
Update copyright file: [345ee9e0e2] check-in: [7324ec8590] user: js, branch: 1.0, size: 8386 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [ba43b85159] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 10372 [annotate] [blame] [check-ins using] [diff]
17:14
OFDNSResolver: Invalidate cache on config changes file: [92b2145ac6] check-in: [3f27f9cfbd] user: js, branch: trunk, size: 10372 [annotate] [blame] [check-ins using] [diff]
14:26
OFDNSResolver: Add warnings about config reloading file: [9ab49908f1] check-in: [b4507c354a] user: js, branch: trunk, size: 10483 [annotate] [blame] [check-ins using] [diff]
2023-12-29
16:25
OFDNSResolver: Clean up expired cache entries file: [34abce9819] check-in: [219aa9cf65] user: js, branch: trunk, size: 8578 [annotate] [blame] [check-ins using] [diff]
15:53
OFDNSResolver: Cache responses file: [f7643163de] check-in: [252f11c431] user: js, branch: trunk, size: 8543 [annotate] [blame] [check-ins using] [diff]
2023-04-10
18:51
OFDNSResolver: Rename usesTCP -> forcesTCP file: [511ca7b000] check-in: [1e62dc40eb] user: js, branch: trunk, size: 8386 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [5db6332123] check-in: [8939cbdb52] user: js, branch: trunk, size: 8382 [annotate] [blame] [check-ins using] [diff]
2022-09-23
14:01
Rename OFInvalidServer{Reply -> Response}Exception file: [a91104c174] check-in: [60ebc06824] user: js, branch: trunk, size: 8382 [annotate] [blame] [check-ins using] [diff]
13:51
Document more exceptions file: [fbe196dbb9] check-in: [a204ef424b] user: js, branch: trunk, size: 8379 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [0eee98275d] check-in: [1a86b8175b] user: js, branch: trunk, size: 8234 [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. file: [d50442556a] check-in: [2fcf5a3052] user: js, branch: trunk, size: 8234 [annotate] [blame] [check-ins using] [diff]

2021-04-19
21:54
Rename a few more constants file: [9570988a05] check-in: [458420998c] user: js, branch: new-naming-convention, size: 8257 [annotate] [blame] [check-ins using] [diff]
2021-04-17
14:59
Rename of_dns_* file: [366ea735f5] check-in: [4badf3f127] user: js, branch: new-naming-convention, size: 8265 [annotate] [blame] [check-ins using] [diff]
13:58
of_socket_address_t -> OFSocketAddress file: [a855f12ad3] check-in: [e3c5bb70dd] user: js, branch: new-naming-convention, size: 8279 [annotate] [blame] [check-ins using] [diff]
12:32
Rename of_socket_address_family_t file: [ee088942f0] check-in: [d3fb3e902d] user: js, branch: new-naming-convention, size: 8287 [annotate] [blame] [check-ins using] [diff]
03:37
of_run_loop_mode_t -> OFRunLoopMode file: [85f077e644] check-in: [b480ef54db] user: js, branch: new-naming-convention, size: 8302 [annotate] [blame] [check-ins using] [diff]
00:51
of_time_interval_t -> OFTimeInterval file: [3856863be9] check-in: [8c0d76f782] user: js, branch: new-naming-convention, size: 8312 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [c467730d8f] check-in: [374e1a1bfa] user: js, branch: trunk, size: 8320 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [0f2597e31a] check-in: [163a4a5a2e] user: js, branch: trunk, size: 8409 [annotate] [blame] [check-ins using] [diff]
2020-06-21
17:53
Throw an exception when there is no name server file: [f593d54e00] check-in: [f3573582e1] user: js, branch: trunk, size: 8409 [annotate] [blame] [check-ins using] [diff]
2020-04-24
00:21
Add OFIPStreamSocket

This is a new superclass for OFTCPSocket to allow sharing code with
other IP stream socket types, namely SCTP. file: [311250de1e] check-in: [3dfe642dd3] user: js, branch: trunk, size: 8338 [annotate] [blame] [check-ins using] [diff]

2020-04-18
19:36
OFDNSResolver: Add support for queries over TCP file: [074bf54ace] check-in: [45452562b7] user: js, branch: trunk, size: 8328 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [8e72b091f6] check-in: [c7f0229795] user: js, branch: trunk, size: 8218 [annotate] [blame] [check-ins using] [diff]
2019-10-07
20:32
Split OFDNSResolverDelegate into two delegates

These are different enough that it makes no sense to have them in one.
Having them in one means all methods are @optional and typos cannot be
caught by the compiler. file: [e885685095] check-in: [e3c911c7f5] user: js, branch: trunk, size: 8215 [annotate] [blame] [check-ins using] [diff]

00:07
OFDNSResolver: Major refactor

This temporarily doesn't use the search domains anymore and makes CNAMEs
slightly more inefficient. The next commits will fix both. file: [9a991f874e] check-in: [ee592cf603] user: js, branch: trunk, size: 8003 [annotate] [blame] [check-ins using] [diff]

2019-10-06
16:27
Rename OFDNSRequest -> OFDNSQuery

This is now in alignment with the terminology of the RFC. file: [3539989488] check-in: [d69f7bc1ff] user: js, branch: trunk, size: 8194 [annotate] [blame] [check-ins using] [diff]

2019-10-03
21:43
OFDNSResolver: Split out settings

This makes it easier to attach them to a query. file: [5daf5f77ab] check-in: [4fd5a7086c] user: js, branch: trunk, size: 8220 [annotate] [blame] [check-ins using] [diff]

2019-10-01
00:40
Add OFDNSRequest file: [2f064a7964] check-in: [6b2fb27dca] user: js, branch: trunk, size: 8554 [annotate] [blame] [check-ins using] [diff]
2019-09-30
22:46
Add OFDNSResponse file: [3d3d9eb630] check-in: [da8eb2d43a] user: js, branch: trunk, size: 9236 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [7a80eed2c3] check-in: [496695d778] user: js, branch: trunk, size: 9732 [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
Update copyright file: [3356c8f51e] check-in: [0509d7a844] user: js, branch: trunk, size: 9706 [annotate] [blame] [check-ins using] [diff]
2018-12-22
00:29
OFDNSResolver: Use a delegate for async operations

Because there is usually only one resolver per thread, having the
delegate as a property on the resolver would not work. It is therefore
passed as an argument.

This only changes the public API so far. Internally, the old target /
selector / context pattern is still being used. This will be changed
later. file: [83d8704f5a] check-in: [0afb04d93c] user: js, branch: trunk, size: 9700 [annotate] [blame] [check-ins using] [diff]

2018-12-08
18:55
OFUDPSocket: Use a delegate for async operations file: [3471ccf224] check-in: [da2dd2dde5] user: js, branch: trunk, size: 14498 [annotate] [blame] [check-ins using] [diff]
2018-10-06
20:21
OFDNSResolver: Add sync resolve socket addresses file: [e43a0539a7] check-in: [22700e6082] user: js, branch: trunk, size: 14409 [annotate] [blame] [check-ins using] [diff]
13:52
OFDNSResolver: Allow specifying the run loop mode file: [d24746b59f] check-in: [7efb3c590e] user: js, branch: trunk, size: 14036 [annotate] [blame] [check-ins using] [diff]
2018-09-15
13:45
OFDNSResolver: Group records by domain name file: [ef34cbb838] check-in: [7ba597c52d] user: js, branch: trunk, size: 10646 [annotate] [blame] [check-ins using] [diff]
2018-09-10
20:44
OFDNSResolver: Method to resolve host to addresses

This provides more convenience when the goal is to connect a socket and
provides functionality similar to getaddrinfo().

No support for resolving CNAMEs yet - this will be the next step. file: [6f6cb9c138] check-in: [8555d64ee6] user: js, branch: trunk, size: 10230 [annotate] [blame] [check-ins using] [diff]

2018-08-15
00:21
OFDNSResolver: Try all search domains file: [818844ff98] check-in: [fcbb1100da] user: js, branch: trunk, size: 7901 [annotate] [blame] [check-ins using] [diff]
2018-08-14
00:26
Minor documentation fixes file: [f06d637d29] check-in: [fbfe80e8fa] user: js, branch: trunk, size: 7903 [annotate] [blame] [check-ins using] [diff]
2018-08-13
21:37
OFDNSResolver: Parse more options file: [5f0f9a4d52] check-in: [0dc20b4226] user: js, branch: trunk, size: 7553 [annotate] [blame] [check-ins using] [diff]
21:22
OFDNSResolver: Configurable timeout and retries file: [005150c49e] check-in: [fb6ff94c52] user: js, branch: trunk, size: 7553 [annotate] [blame] [check-ins using] [diff]
00:00
OFDNSResolver: Periodic config reload file: [8f0a42e843] check-in: [507d999b53] user: js, branch: trunk, size: 7153 [annotate] [blame] [check-ins using] [diff]
2018-08-12
22:21
OFDNSResolver: Pass the FQDN to the callback file: [4f664e02c6] check-in: [457f722d18] user: js, branch: trunk, size: 6648 [annotate] [blame] [check-ins using] [diff]
12:37
OFDNSResolver: Parse authority and additional RRs file: [015a85d33b] check-in: [6305a0c7a4] user: js, branch: trunk, size: 5351 [annotate] [blame] [check-ins using] [diff]
2018-08-11
11:58
OFDNSResolver: Minor refactoring file: [878890e8bc] check-in: [4afaa63320] user: js, branch: trunk, size: 5154 [annotate] [blame] [check-ins using] [diff]
2018-08-04
23:43
OFDNSResolver: Improve error reporting file: [1905ee4e94] check-in: [647ec47eda] user: js, branch: trunk, size: 5104 [annotate] [blame] [check-ins using] [diff]
15:50
OFDNSResolver: Have one shared IPv4/IPv6 socket file: [d1d07aeb8b] check-in: [0b475d18d5] user: js, branch: trunk, size: 3902 [annotate] [blame] [check-ins using] [diff]
2018-07-29
19:13
OFDNSResolver: Allow specifying query class & type file: [72b67bd9be] check-in: [af30016cfb] user: js, branch: trunk, size: 3801 [annotate] [blame] [check-ins using] [diff]
14:32
OFDNSResolver: Initial support for resolving file: [1ab5027353] check-in: [af4b18903d] user: js, branch: trunk, size: 3018 [annotate] [blame] [check-ins using] [diff]
2018-07-08
12:07
Added: Initial code for OFDNSResolver

This does nothing more than parse /etc/hosts and /etc/resolv.conf so
far. file: [99b6530961] check-in: [dd375b6d4e] user: js, branch: trunk, size: 2317 [annotate] [blame] [check-ins using]