Skip to content
Snippets Groups Projects
Commit e6a581f1 authored by David Goulet's avatar David Goulet Committed by Nick Mathewson
Browse files

Add a create function for rend_data_t object


Ground works for fixing #15816. This adds the rend_data_create() function in
order to have a single place where we initialize that data structure.

Furthermore, an array of descriptor IDs is added (one per replica) so we can
keep a copy of the current id in the object. It will be used to purge the
last hid serv request cache using those descriptor IDs. When they change,
they will be replaced and the old ones will be purged from the cache.

Signed-off-by: default avatarDavid Goulet <dgoulet@ev0ke.net>
parent 7286a27c
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment