summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/server.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/server.cc b/methods/server.cc
index 9db45eb8c..5ab97a660 100644
--- a/methods/server.cc
+++ b/methods/server.cc
@@ -556,6 +556,7 @@ int ServerMethod::Loop()
{
_error->Error(_("Bad header data"));
Fail(true);
+ Server->Close();
RotateDNS();
continue;
}