Skip to content
  • David Goulet's avatar
    relay: Don't flag that we published if descriptor build fails · 743a5ef2
    David Goulet authored
    
    
    In case building the descriptor would fail, we could still flag that we did in
    fact publish the descriptors leading to no more attempt at publishing it which
    in turn makes the relay silent for some hours and not try to rebuild the
    descriptor later.
    
    This has been spotted with #40231 because the operator used a localhost
    address for the ORPort and "AssumeReachable 1" leading to this code path where
    the descriptor failed to build but all conditions to "can I publish" were met.
    
    Related to #40231
    
    Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
    743a5ef2