tor-error: Extend applicability of RemoteNetworkTimeout

We're going to use this for rendezvous completion timeout, which could
be due to basically anything.
This commit is contained in:
Ian Jackson 2023-06-08 16:15:41 +01:00
parent f194819b9e
commit 4827ce8548
1 changed files with 6 additions and 1 deletions

View File

@ -224,9 +224,14 @@ pub enum ErrorKind {
/// something.
///
/// This error can happen if the host you're trying to connect to isn't
/// responding to traffic. It can also happen if an exit is overloaded, and
/// responding to traffic.
/// It can also happen if an exit, or hidden service, is overloaded, and
/// unable to answer your replies in a timely manner.
///
/// And it might simply mean that the Tor network itself
/// (including possibly relays, or hidden service introduction or rendezvous points)
/// is not working properly
///
/// In either case, trying later, or on a different circuit, might help.
//
// TODO: Say that this is distinct from the case where the exit _tells you_