gamalan / caddy-tlsredis

Redis Storage using for Caddy TLS Data
Apache License 2.0
95 stars 31 forks source link

Update locker implementation; add context support #9

Closed mholt closed 4 years ago

mholt commented 4 years ago

CertMagic 0.11.0 adds a context parameter to Lock so that it can be cancelled. This is a slight breaking change, but is important for dynamic configurations.

More info: caddyserver/certmagic#66

Here's the fix. :)