From 33dc0d893cb996406a220501a220c1a859c4d1c8 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 22 Nov 2015 14:11:13 +0000 Subject: Add rspamd_upstream_reresolve routine. --- src/libutil/upstream.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libutil/upstream.h') diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h index 4694900bb..16561a6ac 100644 --- a/src/libutil/upstream.h +++ b/src/libutil/upstream.h @@ -150,6 +150,11 @@ struct upstream* rspamd_upstream_get (struct upstream_list *ups, enum rspamd_upstream_rotation default_type, const guchar *key, gsize keylen); +/** + * Re-resolve addresses for all upstreams registered + */ +void rspamd_upstream_reresolve (struct upstream_ctx *ctx); + #endif /* UPSTREAM_H */ /* * vi:ts=4 -- cgit v1.2.3