[Swan-dev] error handling in lib/libswan/unbound.c

D. Hugh Redelmeier hugh at mimosa.com
Sun Oct 29 15:33:31 UTC 2017


| From: Paul Wouters <paul at nohats.ca>

| > In several cases (unaffectd by Paul's change), when an error is
| > detected, the code seems to log that error and then continue as if the
| > error had not happened.  I would expect this pattern to be a bug, at
| > least in most cases.
| 
| We try to read whatever files specified via glob and wildcards as we
| can, and ignore the rest. That seems better then complete failure on
| startup. So if you remove a trust anchor file from your DNS setup,
| things still work as best they can without the file.

Sure.

But if an entry fails, it should not be further processed as if it
were OK.  That's what I considered suspicious.


More information about the Swan-dev mailing list