aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-20 13:05:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-20 13:05:56 +0000
commitcd2f92e40eca3ac7036e5cac9f90969a8d26655f (patch)
tree45048c70954fe8ca960252aecf082a3bdb828e59 /src/client
parent64604af61d3f1d8a7ada3eabe5fa62611620d16b (diff)
downloadrspamd-cd2f92e40eca3ac7036e5cac9f90969a8d26655f.tar.gz
rspamd-cd2f92e40eca3ac7036e5cac9f90969a8d26655f.zip
[Feature] Support User-Agent in HTTP requests
Issue: #2750 Closes: #2750
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index d9af90b7f..0568692b4 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -554,10 +554,6 @@ add_options (GQueue *opts)
GString *numbuf;
gchar **hdr, **rcpt;
- if (user_agent) {
- ADD_CLIENT_HEADER (opts, "User-Agent", user_agent);
- }
-
if (ip != NULL) {
rspamd_inet_addr_t *addr = NULL;