Skip to content

Stop OCSP stapler background task when resolver is dropped - #5

Merged
blind-oracle merged 1 commit into
blind-oracle:mainfrom
DorianNiemiecSVRJS:main
Feb 11, 2026
Merged

blind-oracle merged 1 commit into
blind-oracle:mainfrom
DorianNiemiecSVRJS:main

Conversation

@DorianNiemiecSVRJS

Copy link
Copy Markdown
Contributor

I have found that when the OCSP stapler background task is running, but the OCSP stapler struct was dropped, the background task is continuously trying to receive the data from a closed channel, leading to a loop causing high CPU usage.

This pull request would make the OCSP stapler background task exit when the OCSP stapler struct is dropped (and an async channel closed).

@blind-oracle

Copy link
Copy Markdown
Owner

Makes sense, thanks!

@blind-oracle
blind-oracle merged commit 746e7c6 into blind-oracle:main Feb 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants