aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorF. Jason Park2022-02-14 02:36:57 -0800
committerF. Jason Park2024-09-17 17:55:50 -0700
commit50deb59aaee2a8d773e95a53c91da7bdb2c5cabd (patch)
treeb89919b837e5c275057abb4bce85fc5c639a2993 /java
parent865b54e2acea4fdaa3f302ed225f50281b371d6e (diff)
downloademacs-50deb59aaee2a8d773e95a53c91da7bdb2c5cabd.tar.gz
emacs-50deb59aaee2a8d773e95a53c91da7bdb2c5cabd.zip
Only conditionally resolve hosts in nsm-should-check
Libraries like `socks' need to run `nsm-verify-connection' without performing DNS lookups. This change allows them to achieve this by binding `nsm-trust-local-network' to nil around calls to that function. * lisp/net/nsm.el (nsm-should-check): Rework in a functionally equivalent way, except forgo calling both `network-lookup-address-info' and `network-interface-list' unless the various conditions regarding `nsm-trust-local-network' are first satisfied. Replace `mapc' with `dolist' to align with modern sensibilities. (Bug#53941)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions