mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
This commit is contained in:
commit
b5a8fd1566
@ -773,13 +773,7 @@ geoip_client_cache_handle_oom(time_t now, size_t min_remove_bytes)
|
|||||||
size_t
|
size_t
|
||||||
geoip_client_cache_total_allocation(void)
|
geoip_client_cache_total_allocation(void)
|
||||||
{
|
{
|
||||||
size_t bytes = 0;
|
return geoip_client_history_cache_size;
|
||||||
clientmap_entry_t **ent;
|
|
||||||
|
|
||||||
HT_FOREACH(ent, clientmap, &client_history) {
|
|
||||||
bytes += clientmap_entry_size(*ent);
|
|
||||||
}
|
|
||||||
return bytes;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** How many responses are we giving to clients requesting v3 network
|
/** How many responses are we giving to clients requesting v3 network
|
||||||
|
Loading…
Reference in New Issue
Block a user