Add TCP/TLS pipelining dns resolver

This commit is contained in:
Daniel
2020-06-16 15:21:05 +02:00
parent fe3b61f1a3
commit f7320d760d
12 changed files with 672 additions and 208 deletions

View File

@@ -54,7 +54,9 @@ func TestMain(m *testing.M, module *modules.Module) {
// are shutdown.
func TestMainWithHooks(m *testing.M, module *modules.Module, afterStartFn, beforeStopFn TestHookFunc) {
// enable module for testing
module.Enable()
if module != nil {
module.Enable()
}
// switch databases to memory only
base.DefaultDatabaseStorageType = "hashmap"