aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-01 14:29:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-01 14:29:57 +0000
commitff7f417bffb844100606c17162bf70a2880db223 (patch)
tree40e43dee03295d6f4c902f8db8514018b2585cb2 /src/libutil/upstream.h
parent9bde024ddfa482c6223033762e3611223383d1c9 (diff)
downloadrspamd-ff7f417bffb844100606c17162bf70a2880db223.tar.gz
rspamd-ff7f417bffb844100606c17162bf70a2880db223.zip
[Fix] Allow real upstreams configuration
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h
index d0d7374cf..4dd69e0dd 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -89,6 +89,8 @@ void rspamd_upstreams_set_flags (struct upstream_list *ups,
/**
* Sets custom limits for upstreams
+ * This function allocates memory from the upstreams ctx pool and should
+ * not be called in cycles/constantly as this memory is likely persistent
* @param ups
* @param revive_time
* @param revive_jitter