diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-24 09:12:57 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:29 -0400 |
commit | a1125625449617ef427d8816f6e0174806e2d947 (patch) | |
tree | 694bbcb4e98cc07d0a8274faf537b1301514e76c /src/or/circuituse.c | |
parent | 1077e9894cd60d9b991e38d965e57be00fd83277 (diff) | |
download | tor-a1125625449617ef427d8816f6e0174806e2d947.tar.gz tor-a1125625449617ef427d8816f6e0174806e2d947.zip |
hs: Update intro circuit timestamp when re-extending
A client can re-extend up to 3 intro points on the same circuit. This happens
when we get NACKed by the intro point for which we choose a new intro and
re-extend the circuit to it.
That process can be arbitrarly long so reset the dirty timestamp of the
circuit everytime we choose to re-extend so we get a bit more time to actually
do our introduction.
This is a client circuit so it is short live once opened thus giving us a bit
more time to complete the introduction is ok.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuituse.c')
0 files changed, 0 insertions, 0 deletions