mirror of https://github.com/mastodon/mastodon
Cause Request.Socket.open to check `/etc/hosts` as well as DNS
when resolving hostnames. During development, it can be useful to add entries to `/etc/hosts` in the Docker container (to test ActivityPub federation, e.g.). The Socket implementation in Request currently ignores `/etc/hosts`, and only consults DNS. This patch changes that.pull/34008/head
parent
ebde60ca82
commit
8ab8edc0da
Loading…
Reference in New Issue