MAX_REND_FAILURES is 1, but we would try three times
commita15eb9ff439623f800de813c1a78eeb5d61f7f5a
authorRoger Dingledine <arma@torproject.org>
Mon, 15 Jan 2018 21:30:55 +0000 (15 16:30 -0500)
committerRoger Dingledine <arma@torproject.org>
Fri, 19 Jan 2018 07:28:55 +0000 (19 02:28 -0500)
treee4b674fa6f36be4c0d2dad5014713d68bb325f60
parent9464da210d3214fc094f5fc3b2c229470dbea59c
MAX_REND_FAILURES is 1, but we would try three times

Fix an "off by 2" error in counting rendezvous failures on the onion
service side.

While we thought we would stop the rendezvous attempt after one failed
circuit, we were actually making three circuit attempts before giving up.

Fixes bug 24895; bugfix on 0.0.6.
changes/bug24895 [new file with mode: 0644]
src/or/rendservice.c