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 a46b40936..63c7486dd 100644
--- a/methods/server.cc
+++ b/methods/server.cc
@@ -527,6 +527,7 @@ int ServerMethod::Loop()
{
_error->Error(_("Bad header data"));
Fail(true);
+ Server->Close();
RotateDNS();
continue;
}