summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/http.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/methods/http.cc b/methods/http.cc
index c40336410..2e7fca307 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -711,10 +711,11 @@ ResultState HttpServerState::Die(RequestState &Req)
_error->Errno("write", _("Error writing to the file"));
return ResultState::TRANSIENT_ERROR;
}
+
+ // Done
+ if (In.IsLimit() == true)
+ return ResultState::SUCCESSFUL;
}
- // Done
- if (In.IsLimit() == true)
- return ResultState::SUCCESSFUL;
}
// See if this is because the server finished the data stream