Replace gweb/gresolv with libsoup/c-ares
- May 14, 2021
-
-
clayton craft authored
This prunes the list of nameservers in the ares channel to include only those that are ipv6 addresses. Without this, sometimes nameservers with ipv4 addresses (e.g. 192.168.1.1) are used for the AAAA query since the bound interface is typically a default route on the system. This isn't fatal, it just results in a ~5 second delay with every hostname resolve attempt, since c-ares waits 5 seconds for the AAAA query to fail before eventually getting to a nameserver in the list that can resolve it.
-
clayton craft authored
-
clayton craft authored
This project now outsources to libsoup for name resolution and web antics, and no longer requires carrying a large, unmaintained implementation of these things internally.
-
clayton craft authored
This replaces gweb with libsoup as the http client.
-
clayton craft authored
This resolver allows binding DNS requests to a specific interface and IP family. resolve_host will attempt to resolve a host to IPV6, and fall back to IPV4 if that is unsuccessful. Some carriers (T-Mobile US) will respond to queries over IPV4 with an IP, but their MMS service is only listenning on IPV6 addresses..
-
clayton craft authored
-
clayton craft authored
This will be used for enabling debug output for libraries used in service.c
-