tor-config Listen: Add a note about EADDRINUSE

Prompted by
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/602#note_2830848
This commit is contained in:
Ian Jackson 2022-08-24 19:19:15 +01:00
parent 81bf8d5f4d
commit a6d7e38f6d
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ impl Listen {
/// fail with `EAFNOSUPPORT` ("Address family not supported"). /// fail with `EAFNOSUPPORT` ("Address family not supported").
/// This allows handling of support, or non-support, /// This allows handling of support, or non-support,
/// for particular address faimilies, eg IPv6 vs IPv4 localhost. /// for particular address faimilies, eg IPv6 vs IPv4 localhost.
/// Other errors (eg, `EADDRINUSE`) should always be treated as serious problems.
/// ///
/// Fails if the listen spec involves listening on things other than IP addresses. /// Fails if the listen spec involves listening on things other than IP addresses.
/// (Currently that is not possible.) /// (Currently that is not possible.)