looterz / grimd

:zap: fast dns proxy that can run anywhere, built to black-hole internet advertisements and malware servers
MIT License
1.39k stars 108 forks source link

Fix reload lockup #71

Closed gombadi closed 4 years ago

gombadi commented 4 years ago

If multiple api requests to /blocklist/update were received the api server shutdown would hang waiting for subsequent requests to complete but they were blocked waiting for the reloadChan to be read.

looterz commented 4 years ago

Thanks for the PR.