aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-02 12:30:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-02 12:30:08 +0100
commit1812d38cb85eb3766e1ed0adbf75b57475af6b0e (patch)
tree4cb04b19f6bb7469b3269b2a5ef44df4d6bb95b6 /src/libutil/upstream.h
parente03e1d6bfbd976ec23af197d0d88ccff1933e430 (diff)
downloadrspamd-1812d38cb85eb3766e1ed0adbf75b57475af6b0e.tar.gz
rspamd-1812d38cb85eb3766e1ed0adbf75b57475af6b0e.zip
[Feature] Distinguish IP failures from connection failures
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h
index 84e75288d..3bc2132da 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -55,7 +55,7 @@ void rspamd_upstreams_library_config (struct rspamd_config *cfg,
/**
* Add an error to an upstream
*/
-void rspamd_upstream_fail (struct upstream *up);
+void rspamd_upstream_fail (struct upstream *up, gboolean addr_failure);
/**
* Increase upstream successes count