Commit Graph

14 Commits

Author SHA1 Message Date
Matteo Settenvini 6582c27a43
Update deps and fix getaddrinfo test for canary
Apparently the return of getaddrinfo for the canary domain has
changed in the latest versions of either glibc or the corresponding
crate.

The error returned is Eai::NoData rather than Eai::NoName.
2023-01-10 17:13:05 +01:00
Matteo Settenvini 20072cf1ea
Use a p2p dbus connection during tests
This removes the requirement of having the DBus daemon running locally,
which is particularly helpful e.g. in a container or for CI.
2022-09-12 00:38:24 +02:00
Matteo Settenvini 571aa90d6a
Finish implementation of gethostbyname 2022-09-05 23:15:29 +02:00
Matteo Settenvini 9978bfd783
Use unique name for dbus connection during integration testing 2022-08-25 01:00:18 +02:00
Matteo Settenvini c52195dd8b
Add TLS support to resolver, implement DBus ifaces 2022-08-24 16:18:09 +02:00
Matteo Settenvini b5797b12f1
Ensure unique nix library use with deps 2022-08-24 12:51:16 +02:00
Matteo Settenvini c35c83a4b2
Minor refactors 2022-08-24 12:48:36 +02:00
Matteo Settenvini d37ab45d68
Implement hostent handling 2022-08-23 11:07:17 +02:00
Matteo Settenvini 8082509da0
Refactor code to reduce duplication among gethostbyname(3|4)_r 2022-08-22 23:12:34 +02:00
Matteo Settenvini 516bf4000c
Use an async context for module and refactor 2022-08-21 14:47:37 +02:00
Matteo Settenvini 96663abaef
Move to rust stable, introduce mock for dbus in tests 2022-08-18 13:59:11 +02:00
Matteo Settenvini 37ef5d4e65
Start implementing and testing gethostbyname4_r 2022-08-15 22:55:35 +02:00
Matteo Settenvini 9ce503e052
Ensure loading of NSS module in tests 2022-08-14 23:03:59 +02:00
Matteo Settenvini 0f11e871ef
Add basic test 2022-08-13 17:04:22 +02:00