aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/t-http-basic.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-06-19 23:59:05 +0000
committerNIIBE Yutaka <[email protected]>2018-06-19 23:59:05 +0000
commit861f1da0731bf29dcb9221c4f22c76b40ec15a78 (patch)
treece93c78fe4f263455128144ba89ac39dee03e090 /dirmngr/t-http-basic.c
parentwks: Take name of sendmail from configure. (diff)
downloadgnupg-861f1da0731bf29dcb9221c4f22c76b40ec15a78.tar.gz
gnupg-861f1da0731bf29dcb9221c4f22c76b40ec15a78.zip
libdns: Let kernel to decide the local port.
* dirmngr/dns.c (LEAVE_SELECTION_OF_PORT_TO_KERNEL): New. (dns_socket): Don't select ephemeral port in user space. -- There is no good reason to bind local port aggressively. It might be some reason to do so, then, a user can specify it in /etc/resolv.conf by the second argument of "interface" directive. At least, it causes a problem on Windows. Binding a specified port in user space can trigger the Firewall dialog on Windows. Since it can be considered valid question, it is better not to bind with an ephemeral port which is selected in user space, by default. GnuPG-bug-id: 3610 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions