ErrorKind::RemoteRefused: Expand on description, narrowing scope

This commit is contained in:
Ian Jackson 2022-02-17 12:36:15 +00:00
parent cca253ff9f
commit 079f7fd1b8
1 changed files with 3 additions and 0 deletions

View File

@ -384,6 +384,9 @@ pub enum ErrorKind {
///
/// Either it gave an error message indicating that it refused to perform
/// the request, or the protocol gives it no room to explain what happened.
///
/// The remote host in question is on the public internet, or an onion service.
/// This error does not relate to refusals by part of the Tor network.
#[display(fmt = "remote host refused our request")]
RemoteRefused,