aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-18 14:07:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-18 14:07:32 +0000
commit34cc551018df1c174685493a64b496d594cc8eb6 (patch)
treeed4753582c271eade91013b53e6ae4b7fcdc4483 /src/libutil/upstream.h
parent3a1974cf17f235b7bbb98de714fe0210ddb2c596 (diff)
downloadrspamd-34cc551018df1c174685493a64b496d594cc8eb6.tar.gz
rspamd-34cc551018df1c174685493a64b496d594cc8eb6.zip
[Project] Preliminary support of HTTP proxies
Issue: #572
Diffstat (limited to 'src/libutil/upstream.h')
-rw-r--r--src/libutil/upstream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/upstream.h b/src/libutil/upstream.h
index 4db962765..75d840ce2 100644
--- a/src/libutil/upstream.h
+++ b/src/libutil/upstream.h
@@ -157,6 +157,10 @@ gboolean rspamd_upstreams_parse_line (struct upstream_list *ups,
const gchar *str, guint16 def_port, void *data);
+gboolean rspamd_upstreams_parse_line_len (struct upstream_list *ups,
+ const gchar *str, gsize len,
+ guint16 def_port,
+ void *data);
/**
* Parse upstreams list from the UCL object
* @param ups