Log when skipping challenges due to valid authz

This commit is contained in:
Matthew Holt 2016-08-16 14:00:17 -06:00
parent b2d7a1821e
commit 6bd7f505e1

View file

@ -510,7 +510,8 @@ func (c *Client) solveChallenges(challenges []authorizationResource) map[string]
failures := make(map[string]error) failures := make(map[string]error)
for _, authz := range challenges { for _, authz := range challenges {
if authz.Body.Status == "valid" { if authz.Body.Status == "valid" {
// Boulder might recycle already-valid authz, see issue #267 // Boulder might recycle recent validated authz (see issue #267)
logf("[INFO][%s] acme: Authorization already valid; skipping challenge", authz.Domain)
continue continue
} }
// no solvers - no solving // no solvers - no solving