Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use background context for renewing dynamic cert in background (#248)
The context available to `renewDynamicCertificate` comes from inside the TLS handshake, and as such may be bounded by the lifespan of the connection. Passing this into a goroutine will lead to problems when the connection ends (and the connection context gets canceled with it) but the goroutine is going to do more I/O on that context.
- Loading branch information