http: On select timeout, error out directly, do not call Die()

The error handling in Die() that's supposed to add useful error
messages is not super useful here.
This commit is contained in:
Julian Andres Klode
2020-06-29 12:31:55 +02:00
parent 9742032dcd
commit c2cb8abbf5
+1 -1
View File
@@ -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