mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Keep descriptor rotation time after HUP occurs.
This commit is contained in:
parent
db3414dd51
commit
c798957b59
2 changed files with 4 additions and 0 deletions
3
changes/bug26932
Normal file
3
changes/bug26932
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
o Minor bugfixes (onion services):
|
||||||
|
- Fix bug that causes services to not ever rotate their descriptors if they
|
||||||
|
were getting SIGHUPed often. Fixes bug 26932; bugfix on 0.3.2.1-alpha.
|
|
@ -845,6 +845,7 @@ move_hs_state(hs_service_t *src_service, hs_service_t *dst_service)
|
||||||
replaycache_free(dst->replay_cache_rend_cookie);
|
replaycache_free(dst->replay_cache_rend_cookie);
|
||||||
}
|
}
|
||||||
dst->replay_cache_rend_cookie = src->replay_cache_rend_cookie;
|
dst->replay_cache_rend_cookie = src->replay_cache_rend_cookie;
|
||||||
|
dst->next_rotation_time = src->next_rotation_time;
|
||||||
|
|
||||||
src->replay_cache_rend_cookie = NULL; /* steal pointer reference */
|
src->replay_cache_rend_cookie = NULL; /* steal pointer reference */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue