Fix broken whitelists

This commit is contained in:
9seconds
2022-03-11 10:50:15 +03:00
parent 01e201365b
commit 0ce0c668b9
6 changed files with 29 additions and 5 deletions
+6
View File
@@ -144,6 +144,12 @@ func (p *Proxy) Shutdown() {
p.ctxCancel()
p.streamWaitGroup.Wait()
p.workerPool.Release()
if p.whitelist != nil {
p.whitelist.Shutdown()
}
p.blocklist.Shutdown()
}
func (p *Proxy) doFakeTLSHandshake(ctx *streamContext) bool {