diff --git a/dnscrypt-proxy/proxy.go b/dnscrypt-proxy/proxy.go index 3cf00f05..5fd60b84 100644 --- a/dnscrypt-proxy/proxy.go +++ b/dnscrypt-proxy/proxy.go @@ -415,7 +415,7 @@ func (proxy *Proxy) processIncomingQuery(serverInfo *ServerInfo, clientProto str sharedKey, encryptedQuery, clientNonce, err := proxy.Encrypt(serverInfo, query, serverProto) if err != nil { pluginsState.returnCode = PluginsReturnCodeParseError - pluginsState.ApplyLoggingPlugins(&proxy.pluginsGlobals) + return } response, err = proxy.exchangeWithTCPServer(serverInfo, sharedKey, encryptedQuery, clientNonce) }