Simplify TCP resolver

This commit is contained in:
Daniel
2021-06-01 09:32:35 +02:00
parent 27d41d51d6
commit 9624995c6e
2 changed files with 275 additions and 405 deletions

View File

@@ -128,7 +128,7 @@ func createResolver(resolverURL, source string) (*Resolver, bool, error) {
blockType := query.Get("blockedif")
if blockType == "" {
blockType = BlockDetectionRefused
blockType = BlockDetectionZeroIP
}
switch blockType {