]> git.ipfire.org Git - thirdparty/tor.git/commit
Add rend failure cache
authorDavid Goulet <dgoulet@ev0ke.net>
Thu, 18 Jun 2015 20:09:18 +0000 (16:09 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 11 Aug 2015 13:34:41 +0000 (09:34 -0400)
commitab9a0e340728abd96128da726f67b4ccca10ba52
treef3db7383a0733814acd15a1bf503ed2948afa096
parent9338847bf427b59d6dd5634fc2f8998ce0e269c1
Add rend failure cache

When fetching a descriptor, we know test every introduction points in it
against our rend failure cache to know if we keep it or not. For this to
work, now everytime an introduction points is discareded (ex: receiving a
NACK), we note it down in our introduction cache.

See rendcache.c for a detailed explanation of the cache's behavior.

Fixes #16389

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
src/or/rendcache.c
src/or/rendcache.h
src/or/rendclient.c