diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-20 13:05:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-20 13:05:56 +0000 |
commit | cd2f92e40eca3ac7036e5cac9f90969a8d26655f (patch) | |
tree | 45048c70954fe8ca960252aecf082a3bdb828e59 /src/client | |
parent | 64604af61d3f1d8a7ada3eabe5fa62611620d16b (diff) | |
download | rspamd-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.c | 4 |
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; |