[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Thu Nov 10 03:47:14 EET 2022
New commits:
commit 41a8765850d20f1e063e6112f011afc19f94a4ce
Author: Andrew Cagney <cagney at gnu.org>
Date: Wed Nov 9 20:25:50 2022 -0500
ddns: drop code trying to initiate same-in-some-sense connections
I'm guessing that the intent was to avoid duplicate blocking calls to
ttoaddress_dns() by finding other connections waiting for the same DNS
name. Except it was using a nested loop iterating over host-pairs.
If performance really is a concern (I don't think it is):
- replace the all-connections loop with a dns-name <=> connection map
- use nonblocking unbound
More information about the Swan-commit
mailing list