mirror of
https://github.com/ukui/apt.git
synced 2026-03-09 09:35:45 -07:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user