summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 161ecf067..c8aeea1ad 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -835,7 +835,7 @@ ResultState HttpServerState::Go(bool ToFile, RequestState &Req)
if (Res == 0)
{
_error->Error(_("Connection timed out"));
- return Die(Req);
+ return ResultState::TRANSIENT_ERROR;
}
// Handle server IO