Skip to content

Use context.Context to enforce cancellation #970

@mholt

Description

@mholt

It would be useful, when shutting down a server or even the lego command, that Ctrl+C can cancel any active & pending challenges in a way that their resources get cleaned up when shutting down.

In other words, an API that exposes context.Context which can be used for cancellation would be helpful. What do you think?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions