hs-v2: Copy needed information between service on prunning
commitb4e44a371f077f5a9fca19f94e6ff5f604f3e9d3
authorDavid Goulet <dgoulet@torproject.org>
Fri, 8 Mar 2019 14:54:54 +0000 (8 09:54 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Fri, 8 Mar 2019 14:59:04 +0000 (8 09:59 -0500)
tree601185e91bb265391c69c5d47695a0def1204c68
parent2e74edb53ef9ac417d8424a0785af839f83791ca
hs-v2: Copy needed information between service on prunning

Turns out that when reloading a tor configured with hidden service(s), we
weren't copying all the needed information between the old service object to
the new one.

For instance, the desc_is_dirty timestamp wasn't which could lead to the
service uploading its descriptor much later than it would need to.

The replaycache wasn't also moved over and some intro point information as
well.

Fixes #23790

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/bug23790 [new file with mode: 0644]
src/or/rendservice.c