]> git.ipfire.org Git - thirdparty/tor.git/commit
don't cache connect failures from our own circuits
authorRoger Dingledine <arma@torproject.org>
Tue, 26 Oct 2021 09:40:38 +0000 (05:40 -0400)
committerRoger Dingledine <arma@torproject.org>
Mon, 8 Nov 2021 10:37:02 +0000 (05:37 -0500)
commit5ad126a51bdfaeecc81b1cb6517abd2d5e039fad
treeb8d496e3c7c3584f2a112232230cc1a564700cad
parent89ba63a6197ca8066ee64a5d7ac53fd5f5628918
don't cache connect failures from our own circuits

The connect failure cache had a bad interaction with retrying connections
to our guards or bridges when we go offline and then come back online --
while offline we would fail to connect and cache this result, and then
when we return we would decline to even attempt to connect, because our
failure cache said it wouldn't work.

Now only cache connect failures for relays when we connected to them
because of somebody else's EXTEND request.

Fixes bug 40499; bugfix on 0.3.3.4-alpha.
changes/bug40499 [new file with mode: 0644]
src/core/or/connection_or.c