diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-23 22:28:11 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-08-23 22:28:15 -0600 |
commit | 3aabbc49a2eccc66a20d3223e9fb2925cbbdd0d4 (patch) | |
tree | dc7e18effa02d8b8384a0b758918820efce724f0 /caddyconfig/caddyfile/parse_test.go | |
parent | bbc923d66b92780a10ba961fcbe7f056bf7ef3b6 (diff) |
caddytls: Log error if ask request fails
Errors returned from the DecisionFunc (whether to get a cert on-demand)
are used as a signal whether to allow a cert or not; *any* error
will forbid cert issuance.
We bubble up the error all the way to the caller, but that caller is the
Go standard library which might gobble it up.
Now we explicitly log connection errors so sysadmins can
ensure their ask endpoints are working.
Thanks to our sponsor AppCove for reporting this!
Diffstat (limited to 'caddyconfig/caddyfile/parse_test.go')
0 files changed, 0 insertions, 0 deletions