Home GnuPG
Diffusion GnuPG cca92ca53489

libdns: For SOCKS connection, just fails.

Description

libdns: For SOCKS connection, just fails.

* dirmngr/dns.c (dns_res_exec): If it's DNS_SO_SOCKS_CONN, don't
iterate to other server, but return the error immediately.

Cherry picked from master commit:

1aacd12471935a354cfd85ee1805edc7eb16e6c5

In the function libdns_switch_port_p in dns-stuff.c, this patch
allows to fallback using TOR_PORT2 correctly.

Details

Provenance
gniibeAuthored on Jul 2 2018, 3:37 AM
Parents
rG72a35ffee022: libdns: Let kernel to decide the local port.
Branches
Unknown
Tags
Unknown